Changes in uspace/drv/usbhid/subdrivers.c [e3b5129:1cbb4b7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/subdrivers.c
re3b5129 r1cbb4b7 37 37 #include "usb/classes/hidut.h" 38 38 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 }; 39 static usb_hid_subdriver_usage_t path_kbd[] = {{USB_HIDUT_PAGE_KEYBOARD, 0}}; 50 40 51 41 const usb_hid_subdriver_mapping_t usb_hid_subdrivers[] = { 52 42 { 53 43 path_kbd, 54 -1,44 1, 55 45 USB_HID_PATH_COMPARE_END 56 46 | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, 57 0,58 0,47 NULL, 48 NULL, 59 49 { 60 .init =usb_kbd_init,61 .deinit =usb_kbd_deinit,62 .poll =usb_kbd_polling_callback,63 .poll_end =NULL50 usb_kbd_init, 51 usb_kbd_deinit, 52 usb_kbd_polling_callback, 53 NULL 64 54 }, 65 55 66 56 }, 67 { 68 lgtch_path, 69 1, 70 USB_HID_PATH_COMPARE_END 71 | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, 72 0x046d, 73 0xc30e, 74 { 75 .init = NULL, 76 .deinit = NULL, 77 .poll = usb_lgtch_polling_callback, 78 .poll_end = NULL 79 } 80 }, 81 {NULL, -1, 0, 0, 0, {NULL, NULL, NULL, NULL}} 57 {NULL, 0, 0, NULL, NULL, {NULL, NULL, NULL, NULL}} 82 58 }; 83 59
Note:
See TracChangeset
for help on using the changeset viewer.