Changes in uspace/drv/usbhid/lgtch-ultrax/lgtch-ultrax.c [3a6e423:1989cdf] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/lgtch-ultrax/lgtch-ultrax.c
r3a6e423 r1989cdf 300 300 usb_hid_report_path_set_report_id(path, 1); 301 301 302 lgtch_dev->key_count = usb_hid_report_size( 303 hid_dev->report, 0, USB_HID_REPORT_TYPE_INPUT); 302 lgtch_dev->key_count = usb_hid_report_size(hid_dev->report, 1, 303 USB_HID_REPORT_TYPE_INPUT); 304 304 305 usb_hid_report_path_free(path); 305 306 … … 399 400 USB_HID_REPORT_TYPE_INPUT); 400 401 401 //unsigned int key;402 unsigned int key; 402 403 403 404 /*! @todo Is this iterating OK if done multiple times? … … 405 406 */ 406 407 while (field != NULL) { 407 if(field->value != 0) {408 409 410 411 //key = usb_lgtch_map_usage(field->usage);412 usb_lgtch_push_ev(hid_dev, KEY_PRESS,field->usage);413 }408 usb_log_debug("\n"); 409 usb_log_debug(NAME " KEY VALUE(%X) USAGE(%X)\n", field->value, 410 field->usage); 411 412 key = field->usage; 413 //key = usb_lgtch_map_usage(field->usage); 414 usb_lgtch_push_ev(hid_dev, KEY_PRESS, key); 414 415 415 416 field = usb_hid_report_get_sibling(
Note:
See TracChangeset
for help on using the changeset viewer.