Changeset 7ab7c7f6 in mainline for uspace/drv/usbhid/subdrivers.c
- Timestamp:
- 2011-05-07T13:39:03Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 62265ce, 6fb003e
- Parents:
- 5d07f54 (diff), bc02b83 (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
r5d07f54 r7ab7c7f6 36 36 #include "subdrivers.h" 37 37 #include "usb/classes/hidut.h" 38 #include "usb/classes/hidpath.h" 38 39 39 40 #include "lgtch-ultrax/lgtch-ultrax.h" 41 #include "mouse/mousedev.h" 40 42 41 43 static usb_hid_subdriver_usage_t path_kbd[] = { 42 44 {USB_HIDUT_PAGE_KEYBOARD, 0}, 45 {0, 0} 46 }; 47 48 static usb_hid_subdriver_usage_t path_mouse2[] = { 49 {USB_HIDUT_PAGE_GENERIC_DESKTOP, USB_HIDUT_USAGE_GENERIC_DESKTOP_X}, 43 50 {0, 0} 44 51 }; … … 79 86 } 80 87 }, 88 { 89 path_mouse2, 90 -1, 91 USB_HID_PATH_COMPARE_END 92 | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, 93 -1, 94 -1, 95 { 96 .init = usb_mouse_init, 97 .deinit = usb_mouse_deinit, 98 .poll = usb_mouse_polling_callback, 99 .poll_end = NULL 100 } 101 }, 81 102 {NULL, -1, 0, -1, -1, {NULL, NULL, NULL, NULL}} 82 103 };
Note:
See TracChangeset
for help on using the changeset viewer.