Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

General • Re: [pico 2] Chaining pico2s ( beginner question)

$
0
0
There is nice example to try it in pico sdk:
https://github.com/raspberrypi/pico-exa ... _composite

The easiest way to make your own controller for game is to set it as keyboard/mouse. At the start keyboard is the best one.
For example you can connect a tact switch to GPIO of your pico. If pressed then you can simulate "A" key on keyboard, another tact switch will be "D".
Then you can make your own controller for a race game- anyone because every game (most of them) uses these two keys.
After that step you can do more: connect two potentiometers- one for steering a drive wheel and the second one for throtle.
At first try with mapping rp pico GPIOs to keyboard keys- best step to start and spectaculary (no one has to know that it is just keyboard ;))

Of course you may make your own gamepad. It will be harder but of course feasible. Then take a look on tinyusb examples:
https://github.com/hathach/tinyusb/tree ... les/device

Statistics: Posted by Krzysztos — Tue Jan 13, 2026 10:24 pm



Viewing all articles
Browse latest Browse all 8609

Trending Articles