Ignore:
File:
1 edited

Legend:

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

    r252cf2a r3a6e423  
    4242
    4343static usb_hid_subdriver_usage_t path_kbd[] = {
    44         {USB_HIDUT_PAGE_GENERIC_DESKTOP, 6},
     44        {USB_HIDUT_PAGE_GENERIC_DESKTOP, USB_HIDUT_USAGE_GENERIC_DESKTOP_KEYBOARD},
    4545        {0, 0}
    4646};
    4747
    4848static usb_hid_subdriver_usage_t path_mouse2[] = {
    49         {USB_HIDUT_PAGE_GENERIC_DESKTOP, 2},
     49        {USB_HIDUT_PAGE_GENERIC_DESKTOP, USB_HIDUT_USAGE_GENERIC_DESKTOP_MOUSE},
    5050        {0, 0}
    5151};
     
    5959        {
    6060                path_kbd,
    61                 -1,
    62                 USB_HID_PATH_COMPARE_BEGIN ,
     61                0,
     62                USB_HID_PATH_COMPARE_BEGIN,
    6363                -1,
    6464                -1,
     
    7474                lgtch_path,
    7575                1,
    76                 USB_HID_PATH_COMPARE_BEGIN,
     76                USB_HID_PATH_COMPARE_BEGIN
     77                | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY,         
    7778                0x046d,
    7879                0xc30e,
     
    8687        {
    8788                path_mouse2,
    88                 -1,
     89                0,
    8990                USB_HID_PATH_COMPARE_BEGIN,
    9091                -1,
Note: See TracChangeset for help on using the changeset viewer.