aboutsummaryrefslogtreecommitdiff
path: root/src/machine/key.rs
Commit message (Collapse)AuthorAge
* keyboard: pad key translation tableTianhao Wang2024-06-11
| | | | | | | | some keys such as the Win key has larger scancode, causing out-of-bound read in the translation table. As a temp fix pad the tables with 0 up to 100 chars. Signed-off-by: Tianhao Wang <shrik3@mailbox.org>
* keyboard: implement leds and rebootTianhao Wang2024-06-11
| | | | works on qemu, untested on real machine
* PS/2 Keyboard controller: read and decode keyTianhao Wang2024-06-11
|
* PS/2 Keyboard controller: baselineTianhao Wang2024-06-11
|
* keyctl: use bitflags for key modifiersTianhao Wang2024-06-11
| | | | Merge key modifier getters and setters
* formatting code, use tab identation -- before it's too lateTianhao Wang2024-01-30
|
* minimal support for keyctrl, not completeTianhao Wang2023-03-24