Anyone has example of getting Pico to work as a gamepad #4890
Unanswered
espruino-discuss
asked this question in
Pico / Wifi / Original Espruino
Replies: 1 comment
-
Posted at 2020-06-04 by @gfwilliams So you're specifically after analog inputs, rather than just buttons? Because for sim racing and just buttons you might be fine with USB Keyboard, which is handled by http://www.espruino.com/USB ? The gamepad module was never added to the standard Espruino module list, but you should still be able to reference it by URL:
What happens if you try something like that? Posted at 2020-06-05 by Fredrik I got both mouse and keyboard to work not gamepad when I tried with the code you suggested. But will have another try and se of I can figure out what is wrong. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2020-06-03 by Fredrik
I found a old post(http://forum.espruino.com/conversations/325589/) with code to use the Pico as a gamepad using its HID functionality and as I'm looking to build some stuff for Sim racing where it would be excelent to be able to simulate a joystick/gamepad I tried to get it to work but with no success.
If anyone can point me in a good directions or have ideas on how to integrate hardware divices in a analog way to games, I would be happy.
Beta Was this translation helpful? Give feedback.
All reactions