Changeset 44b1674 in mainline for uspace/drv/usbhid/subdrivers.c
- Timestamp:
- 2011-04-18T21:48:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9014dcd
- Parents:
- 618f9ed (diff), 84a04dd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/subdrivers.c
r618f9ed r44b1674 37 37 #include "usb/classes/hidut.h" 38 38 39 static usb_hid_subdriver_usage_t path_kbd[] = {{USB_HIDUT_PAGE_KEYBOARD, 0}}; 39 #include "lgtch-ultrax/lgtch-ultrax.h" 40 41 static usb_hid_subdriver_usage_t path_kbd[] = { 42 {USB_HIDUT_PAGE_KEYBOARD, 0}, 43 {0, 0} 44 }; 45 46 static usb_hid_subdriver_usage_t lgtch_path[] = { 47 {0xc, 0}, 48 {0, 0} 49 }; 40 50 41 51 const usb_hid_subdriver_mapping_t usb_hid_subdrivers[] = { 42 52 { 43 53 path_kbd, 54 -1, 55 USB_HID_PATH_COMPARE_END 56 | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, 57 0, 58 0, 59 { 60 .init = usb_kbd_init, 61 .deinit = usb_kbd_deinit, 62 .poll = usb_kbd_polling_callback, 63 .poll_end = NULL 64 }, 65 66 }, 67 { 68 lgtch_path, 44 69 1, 45 70 USB_HID_PATH_COMPARE_END 46 71 | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, 47 NULL,48 NULL,72 0x046d, 73 0xc30e, 49 74 { 50 usb_kbd_init, 51 usb_kbd_deinit, 52 usb_kbd_polling_callback, 53 NULL 54 }, 55 75 .init = NULL, 76 .deinit = NULL, 77 .poll = usb_lgtch_polling_callback, 78 .poll_end = NULL 79 } 56 80 }, 57 {NULL, 0, 0, NULL, NULL, {NULL, NULL, NULL, NULL}}81 {NULL, -1, 0, 0, 0, {NULL, NULL, NULL, NULL}} 58 82 }; 59 83
Note:
See TracChangeset
for help on using the changeset viewer.