Sam Lantinga

Results 1875 comments of Sam Lantinga

Thank you for the mapping string, this has been added for the next release!

Yeah, it looks like that mapping string was incorrect. Try this: `"03000000790000000600000000000000,Sanwa Supply JY-P76USV,crc:20f0,a:b0,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a4,start:b9,x:b2,y:b3,",`

Okay, this mapping has been updated for the next release, thanks!

This is fixed for the 2.32.0 release, can you please confirm in the 2.31.1 prerelease later today?

That's weird, because this is the mapping included in SDL: ``` 03000000790000000600000000000000,Sanwa Supply JY-P76USV,crc:20f0,a:b0,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b10,lefttrigger:b6,leftx:a0,lefty:a1,lefty:a1,rightshoulder:b5,rightstick:b11,righttrigger:b7,rightx:a2,righty:a4,start:b9,x:b2,y:b3, ```

I think I see the problem. Your joystick is actually "Generic USB Joystick" with crc 02f4, which isn't unique. If you change the GUID in your mapping to `03000000790000000600000000000000`, does...

> It stops being detected if I change the GUID to that. I didn't know the GUID reported originally wasn't unique, sorry for the trouble. I think the VID and...

You need to handle events and use the sensor timestamp in the event to get precise gyro values.

@HilariousCow, can you check this out?

Hmm, that seems very likely based on your results.