Changes in uspace/drv/usbhid/main.c [c20da9f:b43bcf1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/main.c
rc20da9f rb43bcf1 265 265 for (i = 0; i < count; ++i) { 266 266 printf("%d ", key_codes[i]); 267 }268 printf("\n");269 270 for (i = 0; i < count; ++i) {271 267 // TODO: Key press / release 272 268 273 269 // TODO: NOT WORKING 274 270 unsigned int key = usbkbd_parse_scancode(key_codes[i]); 275 276 if (key == 0) {277 continue;278 }279 271 kbd_push_ev(KEY_PRESS, key); 280 272 } … … 356 348 { 357 349 .pipe = &kbd_dev->poll_pipe, 358 .description = &poll_endpoint_description, 359 .interface_no = 360 usb_device_get_assigned_interface(kbd_dev->device) 350 .description = &poll_endpoint_description 361 351 } 362 352 };
Note:
See TracChangeset
for help on using the changeset viewer.