Changeset 72d120e in mainline for uspace/drv/bus/usb/usbhid/subdrivers.c
- Timestamp:
- 2014-06-16T20:17:44Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a78e4e
- Parents:
- 9d653e3 (diff), 334bf28 (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/bus/usb/usbhid/subdrivers.c
r9d653e3 r72d120e 37 37 #include <usb/hid/usages/core.h> 38 38 #include <usb/hid/hidpath.h> 39 39 #include "kbd/kbddev.h" 40 #include "mouse/mousedev.h" 40 41 #include "multimedia/multimedia.h" 41 #include " mouse/mousedev.h"42 #include "blink1/blink1.h" 42 43 #include "generic/hiddev.h" 43 44 44 45 static const usb_hid_subdriver_usage_t path_kbd[] = { 45 {USB_HIDUT_PAGE_GENERIC_DESKTOP, 46 USB_HIDUT_USAGE_GENERIC_DESKTOP_KEYBOARD}, 46 { 47 USB_HIDUT_PAGE_GENERIC_DESKTOP, 48 USB_HIDUT_USAGE_GENERIC_DESKTOP_KEYBOARD 49 }, 47 50 {0, 0} 48 51 }; 49 52 50 53 static const usb_hid_subdriver_usage_t path_mouse[] = { 51 {USB_HIDUT_PAGE_GENERIC_DESKTOP, USB_HIDUT_USAGE_GENERIC_DESKTOP_MOUSE}, 54 { 55 USB_HIDUT_PAGE_GENERIC_DESKTOP, 56 USB_HIDUT_USAGE_GENERIC_DESKTOP_MOUSE 57 }, 52 58 {0, 0} 53 59 }; 54 60 55 static const usb_hid_subdriver_usage_t multim_key_path[] = { 56 {USB_HIDUT_PAGE_CONSUMER, USB_HIDUT_USAGE_CONSUMER_CONSUMER_CONTROL}, 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 }, 57 66 {0, 0} 58 67 }; … … 73 82 }, 74 83 { 75 multim_key_path,84 path_multim_key, 76 85 1, 77 86 USB_HID_PATH_COMPARE_BEGIN, … … 98 107 } 99 108 }, 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 = NULL 120 } 121 } 100 122 }; 101 123
Note:
See TracChangeset
for help on using the changeset viewer.