Changeset 7304663 in mainline for uspace/drv/usbhid/kbd/kbddev.c
- Timestamp:
- 2011-04-22T10:10:40Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 28d7185, 9b78020
- Parents:
- cf2ccd4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/kbd/kbddev.c
rcf2ccd4 r7304663 694 694 while (field != NULL) { 695 695 usb_log_debug2("FIELD (%p) - VALUE(%d) USAGE(%u)\n", 696 field, field->value, field-> value);696 field, field->value, field->usage); 697 697 698 698 assert(i < kbd_dev->key_count); … … 709 709 * two parts of the Report somehow. 710 710 */ 711 kbd_dev->keys[i] = field->value; 711 if( field->value != 0 ) { 712 kbd_dev->keys[i] = field->usage; 713 } 714 else { 715 kbd_dev->keys[i] = 0; 716 } 712 717 usb_log_debug2("Saved %u. key usage %d\n", i, kbd_dev->keys[i]); 713 718
Note:
See TracChangeset
for help on using the changeset viewer.