We could use [an] example[s] that uses the keypad module for a keyboard, and shortcuts or macros.
Mention to @kattni as promised.
Possibly showing concepts like:
- use
event.pressed to trigger a keyboard send or a layout write.
- use
pressed/released to hold a key while the button is down (like a real keyboard).
Maybe more advanced:
- use a state variable to toggle a key on/off on button press. (That question comes up from time to time).
We could use [an] example[s] that uses the
keypadmodule for a keyboard, and shortcuts or macros.Mention to @kattni as promised.
Possibly showing concepts like:
event.pressedto trigger a keyboard send or a layout write.pressed/releasedto hold a key while the button is down (like a real keyboard).Maybe more advanced: