sdl3_sys/metadata/generated/
hidapi.rs1use super::*;
4
5pub const METADATA_SDL_PROP_HIDAPI_LIBUSB_DEVICE_HANDLE_POINTER: Property = Property {
6 module: "hidapi",
7 name: "SDL_PROP_HIDAPI_LIBUSB_DEVICE_HANDLE_POINTER",
8 short_name: "HIDAPI_LIBUSB_DEVICE_HANDLE_POINTER",
9 value: crate::hidapi::SDL_PROP_HIDAPI_LIBUSB_DEVICE_HANDLE_POINTER,
10 ty: PropertyType::POINTER,
11 doc: None,
12 available_since: None,
13};
14pub const METADATA_SDL_hid_bus_type: Group = Group {
15 module: "hidapi",
16 kind: GroupKind::Enum,
17 name: "SDL_hid_bus_type",
18 short_name: "hid_bus_type",
19 doc: Some(
20 "HID underlying bus types.\n\n## Availability\nThis enum is available since SDL 3.2.0.\n",
21 ),
22 available_since: Some(SDL_VERSIONNUM(3, 2, 0)),
23 values: &[
24 GroupValue {
25 name: "SDL_HID_API_BUS_UNKNOWN",
26 short_name: "UNKNOWN",
27 doc: Some("Unknown bus type\n"),
28 available_since: None,
29 },
30 GroupValue {
31 name: "SDL_HID_API_BUS_USB",
32 short_name: "USB",
33 doc: Some("USB bus\nSpecifications:\n<https://usb.org/hid>\n"),
34 available_since: None,
35 },
36 GroupValue {
37 name: "SDL_HID_API_BUS_BLUETOOTH",
38 short_name: "BLUETOOTH",
39 doc: Some(
40 "Bluetooth or Bluetooth LE bus\nSpecifications:\n<https://www.bluetooth.com/specifications/specs/human-interface-device-profile-1-1-1/>\n<https://www.bluetooth.com/specifications/specs/hid-service-1-0/>\n<https://www.bluetooth.com/specifications/specs/hid-over-gatt-profile-1-0/>\n",
41 ),
42 available_since: None,
43 },
44 GroupValue {
45 name: "SDL_HID_API_BUS_I2C",
46 short_name: "I2C",
47 doc: Some(
48 "I2C bus\nSpecifications:\n<https://docs.microsoft.com/previous-versions/windows/hardware/design/dn642101(v=vs.85)>\n",
49 ),
50 available_since: None,
51 },
52 GroupValue {
53 name: "SDL_HID_API_BUS_SPI",
54 short_name: "SPI",
55 doc: Some(
56 "SPI bus\nSpecifications:\n<https://www.microsoft.com/download/details.aspx?id=103325>\n",
57 ),
58 available_since: None,
59 },
60 ],
61};