usb hid: implement horizontal scrollwheel

- Fix USB_hid_page_consumer.h: some values are skipped in the spec so
  our defines were off
- Handle the horizontal wheel on my mouse which is declared as a
  CON_AC_PAN, but otherwise works just like the vertical wheel
- Input server and interface kit already handle the events properly
  (they were available for serial mice already).

Change-Id: Ie0080ebb27e9478bcfe9f9dc5fd2a936ae05a848
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2201
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
Adrien Destugues
2020-02-06 00:10:10 +00:00
committed by waddlesplash
parent 8a0fd7e14e
commit a206dcc221
3 changed files with 14 additions and 5 deletions
@@ -263,7 +263,7 @@ enum {
B_HID_UID_CON_AC_SAVE,
B_HID_UID_CON_AC_PRINT,
B_HID_UID_CON_AC_PROPERTIES,
B_HID_UID_CON_AC_UNDO,
B_HID_UID_CON_AC_UNDO = 0x21A,
B_HID_UID_CON_AC_COPY,
B_HID_UID_CON_AC_CUT,
B_HID_UID_CON_AC_PASTE,