adafruit / adafruit/Adafruit_CircuitPython_HID

Examples using the keypad module for a keyboard and macros

Open
#108 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
464
Forks
121
PR merge metrics
No merged PRs in 30d

Description

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).

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the keypad module and the repository's existing example structure, then review how keyboard sends and layouts are demonstrated. Done means adding examples for pressed events, held keys with pressed/released, and a state-based toggle or macro.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.