aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Store max packet sizes from device and endpoint descriptors.Brian Cully2019-08-101-22/+45
| | | | | Device's bMaxPacketSize is used for the control endpoint 0, otherwise the endpoint max packet sizes come from the endpoint descriptors.
* Test parser returns None result at end of descriptor.Brian Cully2019-08-101-0/+2
|
* Move descriptor parser to its own type.Brian Cully2019-08-101-71/+77
| | | | Create a parser with `DescriptorParser::from` and iterate with `next`.
* Log endpoint for boot keyboard.Brian Cully2019-08-091-0/+1
|
* Probe for boot keyboard endpoint, instead of hardcoding.Brian Cully2019-08-091-10/+238
| | | | | This adds a rudimentary descriptor parser, so we can go through the full configuration looking for the correct endpoint.
* Pass config_index into SetConfig enum.Brian Cully2019-08-081-7/+7
| | | | Assume we'll figure out which index to use when parsing configurations.
* Add a callback for when a keyboard report is received.Brian Cully2019-08-081-8/+24
|
* Add some docsBrian Cully2019-08-081-0/+2
|
* Initial commitv0.1.0Brian Cully2019-08-041-0/+333