Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename some variables to make their associations more clear. | Brian Cully | 2019-09-26 | 1 | -5/+6 |
| | |||||
* | Add a TODO note about possibly uneccesary device descriptor fetch. | Brian Cully | 2019-09-26 | 1 | -0/+2 |
| | |||||
* | Log FSM state changes at info. | Brian Cully | 2019-09-26 | 1 | -1/+1 |
| | |||||
* | Bump max device to 32. | Brian Cully | 2019-09-26 | 1 | -1/+1 |
| | |||||
* | Add tests for the KeyboardIO Model 01. | Brian Cully | 2019-09-26 | 1 | -1/+320 |
| | | | | Requires a bump in the config buffer size, as the Model 01 uses 150 bytes. | ||||
* | Add the boot keyboard interface number to the `EP` struct. | Brian Cully | 2019-09-26 | 1 | -28/+45 |
| | | | | Some setup packets (SetReport/SetProtocol) require this. | ||||
* | Use MaybeUninit for device list. | Brian Cully | 2019-09-26 | 1 | -4/+10 |
| | | | | | This allows us to use `MAX_DEVICES` of any size and doesn't require Rust's limited array initialization hacks. | ||||
* | Clippy. | Brian Cully | 2019-09-09 | 1 | -14/+14 |
| | |||||
* | Add some tests around device assignment. | Brian Cully | 2019-08-17 | 1 | -19/+121 |
| | | | | And refactor things to use iterators while I'm at it. | ||||
* | Documentation. | Brian Cully | 2019-08-11 | 1 | -0/+7 |
| | |||||
* | Don't fail enumeration if we can't set the keyboard report. | Brian Cully | 2019-08-10 | 1 | -3/+7 |
| | | | | | Just log a warning and proceed to polling for keyboard reports. This fixes the Model 01, which was failing this transaction. | ||||
* | Store max packet sizes from device and endpoint descriptors. | Brian Cully | 2019-08-10 | 1 | -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 Cully | 2019-08-10 | 1 | -0/+2 |
| | |||||
* | Move descriptor parser to its own type. | Brian Cully | 2019-08-10 | 1 | -71/+77 |
| | | | | Create a parser with `DescriptorParser::from` and iterate with `next`. | ||||
* | Log endpoint for boot keyboard. | Brian Cully | 2019-08-09 | 1 | -0/+1 |
| | |||||
* | Probe for boot keyboard endpoint, instead of hardcoding. | Brian Cully | 2019-08-09 | 1 | -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 Cully | 2019-08-08 | 1 | -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 Cully | 2019-08-08 | 1 | -8/+24 |
| | |||||
* | Add some docs | Brian Cully | 2019-08-08 | 1 | -0/+2 |
| | |||||
* | Initial commitv0.1.0 | Brian Cully | 2019-08-04 | 1 | -0/+333 |