sdl3/generated/lib_sdl_hidapi
library
Functions
-
sdlHidBleScan(bool active)
→ void
-
Start or stop a BLE scan on iOS and tvOS to pair Steam Controllers.
-
sdlHidClose(Pointer<SdlHidDevice> dev)
→ int
-
Close a HID device.
-
sdlHidDeviceChangeCount()
→ int
-
Check to see if devices may have been added or removed.
-
sdlHidEnumerate(int vendorId, int productId)
→ Pointer<SdlHidDeviceInfo>
-
Enumerate the HID Devices.
-
sdlHidExit()
→ int
-
Finalize the HIDAPI library.
-
sdlHidFreeEnumeration(Pointer<SdlHidDeviceInfo> devs)
→ void
-
Free an enumeration linked list.
-
sdlHidGetDeviceInfo(Pointer<SdlHidDevice> dev)
→ Pointer<SdlHidDeviceInfo>
-
Get the device info from a HID device.
-
sdlHidGetFeatureReport(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length)
→ int
-
Get a feature report from a HID device.
-
sdlHidGetIndexedString(Pointer<SdlHidDevice> dev, int stringIndex, Pointer<Int16> string, int maxlen)
→ int
-
Get a string from a HID device, based on its string index.
-
sdlHidGetInputReport(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length)
→ int
-
Get an input report from a HID device.
-
sdlHidGetManufacturerString(Pointer<SdlHidDevice> dev, Pointer<Int16> string, int maxlen)
→ int
-
Get The Manufacturer String from a HID device.
-
sdlHidGetProductString(Pointer<SdlHidDevice> dev, Pointer<Int16> string, int maxlen)
→ int
-
Get The Product String from a HID device.
-
sdlHidGetReportDescriptor(Pointer<SdlHidDevice> dev, Pointer<Uint8> buf, int bufSize)
→ int
-
Get a report descriptor from a HID device.
-
sdlHidGetSerialNumberString(Pointer<SdlHidDevice> dev, Pointer<Int16> string, int maxlen)
→ int
-
Get The Serial Number String from a HID device.
-
sdlHidInit()
→ int
-
Initialize the HIDAPI library.
-
sdlHidOpen(int vendorId, int productId, Pointer<Int16> serialNumber)
→ Pointer<SdlHidDevice>
-
Open a HID device using a Vendor ID (VID), Product ID (PID) and optionally
a serial number.
-
sdlHidOpenPath(String? path)
→ Pointer<SdlHidDevice>
-
Open a HID device by its path name.
-
sdlHidRead(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length)
→ int
-
Read an Input report from a HID device.
-
sdlHidReadTimeout(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length, int milliseconds)
→ int
-
Read an Input report from a HID device with timeout.
-
sdlHidSendFeatureReport(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length)
→ int
-
Send a Feature report to the device.
-
sdlHidSetNonblocking(Pointer<SdlHidDevice> dev, int nonblock)
→ int
-
Set the device handle to be non-blocking.
-
sdlHidWrite(Pointer<SdlHidDevice> dev, Pointer<Uint8> data, int length)
→ int
-
Write an Output report to a HID device.