Changeset e3b5129 in mainline for uspace/drv/usbhid/subdrivers.c
- Timestamp:
- 2011-04-12T19:00:00Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 11d2e96a, c7dd69d
- Parents:
- a6610d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/subdrivers.c
ra6610d4 re3b5129 37 37 #include "usb/classes/hidut.h" 38 38 39 #include "lgtch-ultrax/lgtch-ultrax.h" 40 39 41 static usb_hid_subdriver_usage_t path_kbd[] = { 40 42 {USB_HIDUT_PAGE_KEYBOARD, 0}, 43 {0, 0} 44 }; 45 46 static usb_hid_subdriver_usage_t lgtch_path[] = { 47 {0xc, 0}, 41 48 {0, 0} 42 49 }; … … 45 52 { 46 53 path_kbd, 54 -1, 47 55 USB_HID_PATH_COMPARE_END 48 56 | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, … … 57 65 58 66 }, 59 {NULL, 0, 0, 0, {NULL, NULL, NULL, NULL}} 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}} 60 82 }; 61 83
Note:
See TracChangeset
for help on using the changeset viewer.