Changeset 2f593872 in mainline
- Timestamp:
- 2011-03-08T20:48:57Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7351dc3
- Parents:
- 32bfb96
- Location:
- uspace/drv/usbhid
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/hiddev.c
r32bfb96 r2f593872 234 234 } 235 235 236 usb_hid_descriptor_print(hid_dev->parser); 237 236 238 return EOK; 237 239 } -
uspace/drv/usbhid/kbddev.c
r32bfb96 r2f593872 440 440 callbacks->keyboard = usbhid_kbd_process_keycodes; 441 441 442 usb_log_debug("Calling usb_hid_ boot_keyboard_input_report() with "442 usb_log_debug("Calling usb_hid_parse_report() with " 443 443 "buffer %s\n", usb_debug_str_buffer(buffer, actual_size, 0)); 444 444 445 int rc = usb_hid_boot_keyboard_input_report(buffer, actual_size, 446 callbacks, kbd_dev); 445 // int rc = usb_hid_boot_keyboard_input_report(buffer, actual_size, 446 // callbacks, kbd_dev); 447 int rc = usb_hid_parse_report(kbd_dev->hid_dev->parser, buffer, 448 actual_size, callbacks, kbd_dev); 447 449 448 450 if (rc != EOK) { … … 558 560 assert(kbd_dev->hid_dev != NULL); 559 561 assert(kbd_dev->hid_dev->initialized); 560 usbhid_req_set_protocol(kbd_dev->hid_dev, USB_HID_PROTOCOL_BOOT);562 //usbhid_req_set_protocol(kbd_dev->hid_dev, USB_HID_PROTOCOL_BOOT); 561 563 562 564 usbhid_kbd_set_led(kbd_dev);
Note:
See TracChangeset
for help on using the changeset viewer.