Changeset bd2394b in mainline for uspace/drv/usbhid/kbd/kbddev.c
- Timestamp:
- 2011-05-07T10:53:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc5908e
- Parents:
- ba17f5b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/kbd/kbddev.c
rba17f5b rbd2394b 693 693 694 694 while (field != NULL) { 695 usb_log_debug2("FIELD (%p) - VALUE(%d) USAGE(%u)\n",696 field, field->value, field->usage);695 //usb_log_debug2("FIELD (%p) - VALUE(%d) USAGE(%u)\n", 696 // field, field->value, field->usage); 697 697 698 698 assert(i < kbd_dev->key_count); … … 858 858 usb_hid_report_path_set_report_id(path, 0); 859 859 860 kbd_dev->key_count = usb_hid_report_input_length( 861 hid_dev->report, path, 862 USB_HID_PATH_COMPARE_END | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY); 860 kbd_dev->key_count = usb_hid_report_size( 861 hid_dev->report, 0, USB_HID_REPORT_TYPE_INPUT); 863 862 usb_hid_report_path_free(path); 864 863 … … 901 900 kbd_dev->led_path, USB_HIDUT_PAGE_LED, 0); 902 901 903 kbd_dev->led_output_size = usb_hid_report_output_size(hid_dev->report, 904 kbd_dev->led_path, 905 USB_HID_PATH_COMPARE_END | USB_HID_PATH_COMPARE_USAGE_PAGE_ONLY); 902 kbd_dev->led_output_size = usb_hid_report_size(hid_dev->report, 0, 903 USB_HID_REPORT_TYPE_OUTPUT); 906 904 907 905 usb_log_debug("Output report size (in items): %zu\n",
Note:
See TracChangeset
for help on using the changeset viewer.