Changeset ae5f77d5 in mainline
- Timestamp:
- 2011-06-18T16:02:17Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a3a2fdb
- Parents:
- 44e2c1a
- Location:
- uspace/drv/usbhid
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/kbd/kbdrepeat.c
r44e2c1a rae5f77d5 97 97 delay = kbd->repeat.delay_between; 98 98 } else { 99 usb_log_debug ("New key to repeat: %u.\n",99 usb_log_debug2("New key to repeat: %u.\n", 100 100 kbd->repeat.key_new); 101 101 kbd->repeat.key_repeated = kbd->repeat.key_new; … … 104 104 } else { 105 105 if (kbd->repeat.key_repeated > 0) { 106 usb_log_debug ("Stopping to repeat key: %u.\n",106 usb_log_debug2("Stopping to repeat key: %u.\n", 107 107 kbd->repeat.key_repeated); 108 108 kbd->repeat.key_repeated = 0; -
uspace/drv/usbhid/mouse/mousedev.c
r44e2c1a rae5f77d5 210 210 if (mouse_dev->wheel_phone < 0) { 211 211 usb_log_warning( 212 "Connection to console not ready, keydiscarded.\n");212 "Connection to console not ready, wheel roll discarded.\n"); 213 213 return; 214 214 } … … 255 255 256 256 if (field != NULL) { 257 usb_log_debug (NAME " VALUE(%X) USAGE(%X)\n", field->value,257 usb_log_debug2(NAME " VALUE(%X) USAGE(%X)\n", field->value, 258 258 field->usage); 259 259 shift_x = field->value; … … 278 278 279 279 if (field != NULL) { 280 usb_log_debug (NAME " VALUE(%X) USAGE(%X)\n", field->value,280 usb_log_debug2(NAME " VALUE(%X) USAGE(%X)\n", field->value, 281 281 field->usage); 282 282 shift_y = field->value; … … 306 306 307 307 if (field != NULL) { 308 usb_log_debug (NAME " VALUE(%X) USAGE(%X)\n", field->value,308 usb_log_debug2(NAME " VALUE(%X) USAGE(%X)\n", field->value, 309 309 field->usage); 310 310 wheel = field->value; … … 331 331 332 332 while (field != NULL) { 333 usb_log_debug (NAME " VALUE(%X) USAGE(%X)\n", field->value,333 usb_log_debug2(NAME " VALUE(%X) USAGE(%X)\n", field->value, 334 334 field->usage); 335 335 … … 490 490 bool usb_mouse_polling_callback(usb_hid_dev_t *hid_dev, void *data) 491 491 { 492 usb_log_debug("usb_mouse_polling_callback()\n");493 494 492 if (hid_dev == NULL || data == NULL) { 495 493 usb_log_error("Missing argument to the mouse polling callback." -
uspace/drv/usbhid/usbhid.c
r44e2c1a rae5f77d5 572 572 573 573 assert(hid_dev->input_report != NULL); 574 usb_log_debug("Max input report size: %zu, buffer size: %zu\n", 575 hid_dev->max_input_report_size, buffer_size); 574 usb_log_debug("New data [%zu/%zu]: %s\n", buffer_size, 575 hid_dev->max_input_report_size, 576 usb_debug_str_buffer(buffer, buffer_size, 0)); 576 577 577 578 if (hid_dev->max_input_report_size >= buffer_size) {
Note:
See TracChangeset
for help on using the changeset viewer.