summaryrefslogtreecommitdiff
path: root/firmware/usbstack/usb_hid_usage_tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/usbstack/usb_hid_usage_tables.h')
-rw-r--r--firmware/usbstack/usb_hid_usage_tables.h36
1 files changed, 35 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_hid_usage_tables.h b/firmware/usbstack/usb_hid_usage_tables.h
index 9b64cd0328..d23c704eae 100644
--- a/firmware/usbstack/usb_hid_usage_tables.h
+++ b/firmware/usbstack/usb_hid_usage_tables.h
@@ -701,5 +701,39 @@ typedef enum usage_page
701#define HID_CONSUMER_USAGE_AC_DISRIBUTE_HORIZONTALLY 0x29B 701#define HID_CONSUMER_USAGE_AC_DISRIBUTE_HORIZONTALLY 0x29B
702#define HID_CONSUMER_USAGE_AC_DISTRIBUTE_VERTICALLY 0x29C 702#define HID_CONSUMER_USAGE_AC_DISTRIBUTE_VERTICALLY 0x29C
703 703
704#endif 704#ifdef HAVE_USB_HID_MOUSE
705/* Mouse defines (custom made - Rockbox specific) */
706#define HID_MOUSE_NONE 0x00
707#define HID_MOUSE_UP 0x01
708#define HID_MOUSE_UP_REP 0x02
709#define HID_MOUSE_DOWN 0x03
710#define HID_MOUSE_DOWN_REP 0x04
711#define HID_MOUSE_LEFT 0x05
712#define HID_MOUSE_LEFT_REP 0x06
713#define HID_MOUSE_RIGHT 0x07
714#define HID_MOUSE_RIGHT_REP 0x08
715#define HID_MOUSE_LDRAG_UP 0x09
716#define HID_MOUSE_LDRAG_UP_REP 0x0A
717#define HID_MOUSE_LDRAG_DOWN 0x0B
718#define HID_MOUSE_LDRAG_DOWN_REP 0x0C
719#define HID_MOUSE_LDRAG_LEFT 0x0D
720#define HID_MOUSE_LDRAG_LEFT_REP 0x0E
721#define HID_MOUSE_LDRAG_RIGHT 0x0F
722#define HID_MOUSE_LDRAG_RIGHT_REP 0x10
723#define HID_MOUSE_RDRAG_UP 0x11
724#define HID_MOUSE_RDRAG_UP_REP 0x12
725#define HID_MOUSE_RDRAG_DOWN 0x13
726#define HID_MOUSE_RDRAG_DOWN_REP 0x14
727#define HID_MOUSE_RDRAG_LEFT 0x15
728#define HID_MOUSE_RDRAG_LEFT_REP 0x16
729#define HID_MOUSE_RDRAG_RIGHT 0x17
730#define HID_MOUSE_RDRAG_RIGHT_REP 0x18
731#define HID_MOUSE_SCROLL_UP 0x19
732#define HID_MOUSE_SCROLL_DOWN 0x1A
733#define HID_MOUSE_BUTTON_LEFT 0x1B
734#define HID_MOUSE_BUTTON_LEFT_REL 0x1C
735#define HID_MOUSE_BUTTON_RIGHT 0x1D
736#define HID_MOUSE_BUTTON_RIGHT_REL 0x1E
737#endif /* HAVE_USB_HID_MOUSE */
705 738
739#endif