SDL2 Gamepad UUID?

Please check here for help solving common issues.
Post Reply
Posts: 3
Joined: Tue 16 Jun 2020 06:39

SDL2 Gamepad UUID?

Post by megashub » Wed 17 Jun 2020 21:42

I'm trying to determine what the device UUID is for the RS2 gamepad. This is in support of creating an SDL2 controller map for use with PICO-8. I'm working this with ROpi team too, but if anyone on the hardware side happens to have the information, or knows how to generate it, please let me know.



Code: Select all

00000000526574726f53746f6e653200,RetroStone2 Controle,a:b0,b:b1,x:b2,y:b3,dpdown:b11,dpleft:b12,dpright:b13,dpup:b10,leftshoulder:b4,lefttrigger:b6,rightshoulder:b5,righttrigger:b7,start:b9,back:b8,leftx:a0,lefty:a1,platform:Linux
... it's that first string I need. The one above was provided by another user, and when I use it with PICO-8, none of the controls are recognized, suggesting I'm not identifying the device correctly.

Code: Select all

$ cat /proc/bus/input/devices
 I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="RetroStone2 Controle"
P: Phys=
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=js0 event1
B: EV=b
B: KEY=f 0 0 0 0 0 0 0 fdb0000 0 0 0 0 0 0 0 0 0
B: ABS=3

Posts: 3
Joined: Sun 21 Feb 2021 17:20

Re: SDL2 Gamepad UUID?

Post by 7thking » Sun 21 Feb 2021 17:26

Pico8 runs perfectly on retrostone 2 out of the box using the raspberrypi version.

Check this:

However, I am having trouble making pico8 work on the retrostone 1.
I am able to boot into the system, but the gamepad doesn't work!

Post Reply