This post has been de-listed (Author was flagged for spam)
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I want to make a D-pad with four buttons on GPIO16, 20, 21, and 26. 16 and 26 map to keyboard directional keys using device tree without a problem, but when I try to map 20 or 21 the entire fragment fails to work. They work if I read them as an input pin with Python, but I specifically want them mapped to keyboard keys in the device tree.
I see on the pinouts that GPIO20 and 21 are mapped to PCM. Audio is not enabled in my /boot/config.txt but presumably the pins are configured somewhere else and that's why I can't assign them.
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/raspberry_p...