Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/subdrivers.c

    r1e94e09 r9d58539  
    3737#include <usb/hid/usages/core.h>
    3838#include <usb/hid/hidpath.h>
    39 #include "kbd/kbddev.h"
     39
     40#include "multimedia/multimedia.h"
    4041#include "mouse/mousedev.h"
    41 #include "multimedia/multimedia.h"
    42 #include "blink1/blink1.h"
    4342#include "generic/hiddev.h"
    4443
    4544static 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},
    5047        {0, 0}
    5148};
    5249
    5350static 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},
    5852        {0, 0}
    5953};
    6054
    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         },
     55static const usb_hid_subdriver_usage_t multim_key_path[] = {
     56        {USB_HIDUT_PAGE_CONSUMER, USB_HIDUT_USAGE_CONSUMER_CONSUMER_CONTROL},
    6657        {0, 0}
    6758};
     
    8273        },
    8374        {
    84                 path_multim_key,
     75                multim_key_path,
    8576                1,
    8677                USB_HID_PATH_COMPARE_BEGIN,
     
    10798                }
    10899        },
    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         }
    122100};
    123101
Note: See TracChangeset for help on using the changeset viewer.