Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: RPi Pico as a keyboard emulator.  (Read 546 times)

0 Members and 1 Guest are viewing this topic.

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5176
  • Last login:January 06, 2026, 11:02:04 am
  • Wheres my coffee?
    • Skenny's Outpost
RPi Pico as a keyboard emulator.
« on: January 05, 2026, 06:05:49 pm »
As the title says.
I have tried this and it works, but it does have some limitations.
It is max 26 inputs.
It should be good with a two player cabinet, joystick, six action buttons, start, and coin for each player.
That leaves 2 more, which I configured on my setup as ESCAPE and PAUSE.
I tested it by plugging it into my game PC (via USB).
I hooked a jumper wire to a ground terminal on the Pico, then touch each input with the jumper wire.
All inputs registered as keyboard presses.
Whats so hot about this? Price tag! 5 bucks on amazon.
I plan to test it in game play with my next build, which may be a while.
You will need to install circuit python and adafruit_hid on the Pico.


DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5176
  • Last login:January 06, 2026, 11:02:04 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: RPi Pico as a keyboard emulator.
« Reply #1 on: January 05, 2026, 06:55:38 pm »
Thought Id add a very useful link to explain more.

https://learn.adafruit.com/diy-pico-mechanical-keyboard-with-fritzing-circuitpython/installing-circuitpython

Just follow the guide.
I didnt use MU, I used Thonny to write the code.
I also changed the code listed at the end with all the inputs to support a standard control panel.
Please let us know on here,  if you try this.