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