Add Keycodes COMMAND, OPTION, and WINDOWS
Add Keycode
names that correspond to Mac and Windows keyboard labels, for more obvious use without having to refer to the documentation.
- Add
Keycode.WINDOWS
andKeycode.COMMAND
as aliases forKeycode.GUI
. - Add
Keycode.OPTION
as alias forKeycode.ALT
.
To use in CircuitPython, simply install the Adafruit CircuitPython bundle.
To use in CPython, pip install adafruit-circuitpython-hid
.
Read the docs for info on how to use it.