Expand description
Complete keycode definitions.
This module provides keycode definitions following the USB HID specification, extended with additional codes
Enums§
- Consumer
Key - Keys in consumer page Ref: https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf#page=75
- KeyCode
- KeyCode is the internal representation of all keycodes, keyboard operations, etc. Use flat representation of keycodes.
- System
Control Key - Keys in
Generic Desktop Page, generally used for system control Ref: https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf#page=26
Functions§
- from_
ascii - Convert a ascii chat to keycode bool, if the keycode should be shifted assumes en-us keyboard mapping
- to_
ascii - Convert a ascii chat to keycode assumes en-us keyboard mapping