SdlHidDevicePointerEx extension

on

Methods

close() int hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Close a HID device.
getDeviceInfo() Pointer<SdlHidDeviceInfo> hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Get the device info from a HID device.
getFeatureReport(int length) → ({int bytes, Uint8List data, int reportId}) hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Get a feature report from a HID device.
getIndexedString(int stringIndex, {int maxlen = 256}) String? hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Get a string from a HID device, based on its string index.
getInputReport(int length) → ({int bytes, Uint8List data, int reportId}) hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Get an input report from a HID device.
getManufacturerString({int maxlen = 256}) String? hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Get The Manufacturer String from a HID device.
getProductString({int maxlen = 256}) String? hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Get The Product String from a HID device.
getProperties() int hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Get the properties associated with an SDL_hid_device.
getReportDescriptor({int bufSize = 4096}) Uint8List hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Get a report descriptor from a HID device.
getSerialNumberString({int maxlen = 256}) String? hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Get The Serial Number String from a HID device.
read(int length) → ({int bytes, Uint8List data, int reportId}) hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Read an Input report from a HID device.
readTimeout(int length, int milliseconds) → ({int bytes, Uint8List data, int reportId}) hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Read an Input report from a HID device with timeout.
sendFeatureReport(Uint8List data, {int reportId = 0x00}) int hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Send a Feature report to the device.
setNonblocking(int nonblock) int hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Set the device handle to be non-blocking.
write(Uint8List data, {int reportId = 0x00}) int hidapi

Available on Pointer<SdlHidDevice>, provided by the SdlHidDevicePointerEx extension

Write an Output report to a HID device.