Changeset 4971812 in mainline for uspace/app/virtusbkbd/virtusbkbd.c
- Timestamp:
- 2010-10-10T21:20:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0e41957
- Parents:
- 6c1315b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/virtusbkbd/virtusbkbd.c
r6c1315b r4971812 46 46 47 47 #include <usb/hcd.h> 48 #include <usb/device.h> 48 49 #include <usbvirt/device.h> 49 50 #include <usbvirt/hub.h> … … 69 70 } 70 71 72 static usb_standard_device_descriptor_t std_descriptor = { 73 .length = sizeof(usb_standard_device_descriptor_t), 74 .descriptor_type = 1, 75 .usb_spec_version = 0x110, 76 .device_class = 0x03, 77 .device_subclass = 0, 78 .device_protocol = 0, 79 .max_packet_size = 64, 80 .configuration_count = 1 81 }; 82 71 83 /** Keyboard callbacks. 72 84 * We abuse the fact that static variables are zero-filled. … … 81 93 static usbvirt_device_t keyboard_dev = { 82 94 .ops = &keyboard_ops, 95 .standard_descriptor = &std_descriptor, 83 96 .device_id_ = USBVIRT_DEV_KEYBOARD_ID 84 97 };
Note:
See TracChangeset
for help on using the changeset viewer.