Changes in uspace/drv/bus/usb/usbhid/subdrivers.c [1e94e09:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/subdrivers.c
r1e94e09 r9d58539 37 37 #include <usb/hid/usages/core.h> 38 38 #include <usb/hid/hidpath.h> 39 #include "kbd/kbddev.h" 39 40 #include "multimedia/multimedia.h" 40 41 #include "mouse/mousedev.h" 41 #include "multimedia/multimedia.h"42 #include "blink1/blink1.h"43 42 #include "generic/hiddev.h" 44 43 45 44 static const usb_hid_subdriver_usage_t path_kbd[] = { 46 { 47 USB_HIDUT_PAGE_GENERIC_DESKTOP, 48 USB_HIDUT_USAGE_GENERIC_DESKTOP_KEYBOARD 49 }, 45 {USB_HIDUT_PAGE_GENERIC_DESKTOP, 46 USB_HIDUT_USAGE_GENERIC_DESKTOP_KEYBOARD}, 50 47 {0, 0} 51 48 }; 52 49 53 50 static const usb_hid_subdriver_usage_t path_mouse[] = { 54 { 55 USB_HIDUT_PAGE_GENERIC_DESKTOP, 56 USB_HIDUT_USAGE_GENERIC_DESKTOP_MOUSE 57 }, 51 {USB_HIDUT_PAGE_GENERIC_DESKTOP, USB_HIDUT_USAGE_GENERIC_DESKTOP_MOUSE}, 58 52 {0, 0} 59 53 }; 60 54 61 static const usb_hid_subdriver_usage_t path_multim_key[] = { 62 { 63 USB_HIDUT_PAGE_CONSUMER, 64 USB_HIDUT_USAGE_CONSUMER_CONSUMER_CONTROL 65 }, 55 static const usb_hid_subdriver_usage_t multim_key_path[] = { 56 {USB_HIDUT_PAGE_CONSUMER, USB_HIDUT_USAGE_CONSUMER_CONSUMER_CONTROL}, 66 57 {0, 0} 67 58 }; … … 82 73 }, 83 74 { 84 path_multim_key,75 multim_key_path, 85 76 1, 86 77 USB_HID_PATH_COMPARE_BEGIN, … … 107 98 } 108 99 }, 109 {110 NULL,111 0,112 USB_HID_PATH_COMPARE_BEGIN,113 0x27b8,114 0x01ed,115 {116 .init = usb_blink1_init,117 .deinit = usb_blink1_deinit,118 .poll = NULL,119 .poll_end = NULL120 }121 }122 100 }; 123 101
Note:
See TracChangeset
for help on using the changeset viewer.