Ignore:
File:
1 edited

Legend:

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

    rc0940a85 r65b458c4  
    4040#include "keymap.h"
    4141
    42 #include <usb/hid/hidparser.h>
     42#include <usb/classes/hidparser.h>
    4343#include <usb/debug.h>
    44 #include <usb/hid/usages/core.h>
    45 #include <usb/hid/usages/consumer.h>
     44#include <usb/classes/hidut.h>
    4645
    4746#include <errno.h>
     
    211210        }
    212211       
    213         usb_log_debug("%s function created. Handle: %d\n", NAME, fun->handle);
    214        
    215212        rc = ddf_fun_add_to_class(fun, "keyboard");
    216213        if (rc != EOK) {
     
    250247       
    251248        multim_dev->key_count = usb_hid_report_size(
    252             hid_dev->report, 1, USB_HID_REPORT_TYPE_INPUT);
     249            hid_dev->report, 0, USB_HID_REPORT_TYPE_INPUT);
    253250
    254251        usb_hid_report_path_free(path);
     
    360357                            usb_multimedia_map_usage(field->usage);
    361358                        const char *key_str =
    362                             usbhid_multimedia_usage_to_str(field->usage);
     359                            usb_multimedia_usage_to_str(field->usage);
    363360                        usb_log_info("Pressed key: %s\n", key_str);
    364361                        usb_multimedia_push_ev(hid_dev, multim_dev, KEY_PRESS,
Note: See TracChangeset for help on using the changeset viewer.