Changes in uspace/drv/usbhid/multimedia/multimedia.c [c0940a85:65b458c4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/multimedia/multimedia.c
rc0940a85 r65b458c4 40 40 #include "keymap.h" 41 41 42 #include <usb/ hid/hidparser.h>42 #include <usb/classes/hidparser.h> 43 43 #include <usb/debug.h> 44 #include <usb/hid/usages/core.h> 45 #include <usb/hid/usages/consumer.h> 44 #include <usb/classes/hidut.h> 46 45 47 46 #include <errno.h> … … 211 210 } 212 211 213 usb_log_debug("%s function created. Handle: %d\n", NAME, fun->handle);214 215 212 rc = ddf_fun_add_to_class(fun, "keyboard"); 216 213 if (rc != EOK) { … … 250 247 251 248 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); 253 250 254 251 usb_hid_report_path_free(path); … … 360 357 usb_multimedia_map_usage(field->usage); 361 358 const char *key_str = 362 usb hid_multimedia_usage_to_str(field->usage);359 usb_multimedia_usage_to_str(field->usage); 363 360 usb_log_info("Pressed key: %s\n", key_str); 364 361 usb_multimedia_push_ev(hid_dev, multim_dev, KEY_PRESS,
Note:
See TracChangeset
for help on using the changeset viewer.