diff options
Diffstat (limited to 'hw/usb/hid-logitech-dj.h')
-rw-r--r-- | hw/usb/hid-logitech-dj.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/usb/hid-logitech-dj.h b/hw/usb/hid-logitech-dj.h index 785f0d5b56..33c6d4404a 100644 --- a/hw/usb/hid-logitech-dj.h +++ b/hw/usb/hid-logitech-dj.h @@ -275,6 +275,10 @@ typedef struct USBLtunifyState { } USBLtunifyState; +/* poll a HID device for data, returning HID data in buf if any (returns 0 + * if there is no data available) */ +int usb_ltunify_poll_hid(HIDState *hs, uint8_t *buf, size_t bufsz); + /* handle control packets for interface 3 (HID++ / DJ) */ void usb_ltunify_handle_control_hidpp(USBDevice *dev, USBPacket *p, int request, int value, int index, int length, uint8_t *data); |