Changeset cecb1a97 in mainline
- Timestamp:
- 2011-05-07T09:31:48Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d3b6d5e
- Parents:
- 84b240f
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/subdrivers.c
r84b240f rcecb1a97 42 42 43 43 static usb_hid_subdriver_usage_t path_kbd[] = { 44 {USB_HIDUT_PAGE_KEYBOARD, 0}, 44 {USB_HIDUT_PAGE_GENERIC_DESKTOP, 45 USB_HIDUT_USAGE_GENERIC_DESKTOP_KEYBOARD}, 45 46 {0, 0} 46 47 }; … … 51 52 }; 52 53 53 static usb_hid_subdriver_usage_t lgtch_path[] = {54 { 0xc, 0},54 static usb_hid_subdriver_usage_t multim_key_path[] = { 55 {USB_HIDUT_PAGE_CONSUMER, USB_HIDUT_USAGE_CONSUMER_CONSUMER_CONTROL}, 55 56 {0, 0} 56 57 }; … … 60 61 path_kbd, 61 62 -1, 62 USB_HID_PATH_COMPARE_END 63 | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, 63 USB_HID_PATH_COMPARE_ANYWHERE, 64 64 -1, 65 65 -1, … … 73 73 }, 74 74 { 75 lgtch_path,75 multim_key_path, 76 76 1, 77 USB_HID_PATH_COMPARE_END 78 | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, 79 0x046d, 80 0xc30e, 77 USB_HID_PATH_COMPARE_ANYWHERE, 78 -1, 79 -1, 81 80 { 82 81 .init = usb_lgtch_init, -
uspace/lib/usb/include/usb/classes/hidut.h
r84b240f rcecb1a97 67 67 } usb_hidut_usage_generic_desktop_t; 68 68 69 typedef enum { 70 USB_HIDUT_USAGE_CONSUMER_CONSUMER_CONTROL = 1 71 } usb_hidut_usage_consumer_t; 72 69 73 70 74 #endif
Note:
See TracChangeset
for help on using the changeset viewer.