Closed jonathanpallant closed 1 year ago
The struct Keyboard does three things:
struct Keyboard
These should be three objects:
Ps2Decoder
ScancodeProcessor<T> where T: ScancodeSet
EventProcessor<L> where L: Layout
This helps out the Neotron system, where these three objects live in different binaries (the BMC, the BIOS and the OS, respectively).
The
struct Keyboard
does three things:These should be three objects:
Ps2Decoder
ScancodeProcessor<T> where T: ScancodeSet
EventProcessor<L> where L: Layout
This helps out the Neotron system, where these three objects live in different binaries (the BMC, the BIOS and the OS, respectively).