Changes in uspace/drv/usbhid/subdrivers.c [d3b6d5e:3a6e423] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/subdrivers.c
rd3b6d5e r3a6e423 38 38 #include "usb/classes/hidpath.h" 39 39 40 //#include "lgtch-ultrax/lgtch-ultrax.h" 41 #include "multimedia/multimedia.h" 40 #include "lgtch-ultrax/lgtch-ultrax.h" 42 41 #include "mouse/mousedev.h" 43 42 44 43 static usb_hid_subdriver_usage_t path_kbd[] = { 45 {USB_HIDUT_PAGE_GENERIC_DESKTOP, 46 USB_HIDUT_USAGE_GENERIC_DESKTOP_KEYBOARD}, 44 {USB_HIDUT_PAGE_GENERIC_DESKTOP, USB_HIDUT_USAGE_GENERIC_DESKTOP_KEYBOARD}, 47 45 {0, 0} 48 46 }; 49 47 50 static usb_hid_subdriver_usage_t path_mouse [] = {51 {USB_HIDUT_PAGE_GENERIC_DESKTOP, USB_HIDUT_USAGE_GENERIC_DESKTOP_MOUSE}, 48 static usb_hid_subdriver_usage_t path_mouse2[] = { 49 {USB_HIDUT_PAGE_GENERIC_DESKTOP, USB_HIDUT_USAGE_GENERIC_DESKTOP_MOUSE}, 52 50 {0, 0} 53 51 }; 54 52 55 static usb_hid_subdriver_usage_t multim_key_path[] = {56 { USB_HIDUT_PAGE_CONSUMER, USB_HIDUT_USAGE_CONSUMER_CONSUMER_CONTROL},53 static usb_hid_subdriver_usage_t lgtch_path[] = { 54 {0xc, 0}, 57 55 {0, 0} 58 56 }; … … 61 59 { 62 60 path_kbd, 63 -1,64 USB_HID_PATH_COMPARE_ ANYWHERE,61 0, 62 USB_HID_PATH_COMPARE_BEGIN, 65 63 -1, 66 64 -1, … … 74 72 }, 75 73 { 76 multim_key_path,74 lgtch_path, 77 75 1, 78 USB_HID_PATH_COMPARE_ANYWHERE, 79 -1, 80 -1, 76 USB_HID_PATH_COMPARE_BEGIN 77 | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY, 78 0x046d, 79 0xc30e, 81 80 { 82 .init = usb_ multimedia_init,83 .deinit = usb_ multimedia_deinit,84 .poll = usb_ multimedia_polling_callback,81 .init = usb_lgtch_init, 82 .deinit = usb_lgtch_deinit, 83 .poll = usb_lgtch_polling_callback, 85 84 .poll_end = NULL 86 85 } 87 86 }, 88 87 { 89 path_mouse ,90 -1,91 USB_HID_PATH_COMPARE_ ANYWHERE,88 path_mouse2, 89 0, 90 USB_HID_PATH_COMPARE_BEGIN, 92 91 -1, 93 92 -1,
Note:
See TracChangeset
for help on using the changeset viewer.