-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saitek P220 Linux mapping #416
Comments
IIRC this portion of the GUID is generated from the driver version and so it tends to vary between platforms.
I don't personally own this controller so I can't check in any immediate sense but from what I remember, the dpad for this controller sends analog axis events. The
That looks like a placeholder name and you are correct, it should probably be replaced. |
https://hg.libsdl.org/SDL/file/f8adeeb9214b/src/joystick/SDL_joystick.c#l1584
As AliceLR says, the mapping is the same, it's just a Dpad binding instead of a Left Stick binding. See #260
Steam Input uses |
Makes sense, thanks for your feedback! See #417 for the final patch. Closing. |
Steam allowed me to generate the following mappings for Linux:
It's similar to the Windows mapping added in #249, but for a few thing:
Notice the 6th digit from the end is a
1
instead of a0
for Windows. Out of curiosity, does anyone know how this works?I've bount
leftx
andlefty
toa0
anda1
respectively, while the Windows version binds thedp*
buttons to+a1
,-a1
,+a0
,-a0
. What's the difference betweenleftx
/lefty
and the dp buttons? What are the+
-
signs for?Steam generated
dev:gen:p220
, is this useful? Should it be replaced withSaitek P220
?Apologies in advance if I'm asking too many questions! :)
The text was updated successfully, but these errors were encountered: