Changeset 73301a0 in mainline for uspace/app/virtusbkbd/virtusbkbd.c
- Timestamp:
- 2010-10-15T12:57:35Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 47e3a8e
- Parents:
- cbc00a4d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/virtusbkbd/virtusbkbd.c
rcbc00a4d r73301a0 54 54 #include "kbdconfig.h" 55 55 #include "keys.h" 56 #include "stdreq.h" 56 57 57 58 #define LOOPS 5 … … 76 77 static int on_class_request(struct usbvirt_device *dev, 77 78 usb_device_request_setup_packet_t *request, uint8_t *data) 78 { 79 { 79 80 printf("%s: class request (%d)\n", NAME, (int) request->request); 80 81 … … 86 87 */ 87 88 static usbvirt_device_ops_t keyboard_ops = { 88 .on_devreq_class = on_class_request, 89 .standard_request_ops = &standard_request_ops, 90 .on_class_device_request = on_class_request, 89 91 .on_data = on_incoming_data 90 92 };
Note:
See TracChangeset
for help on using the changeset viewer.