mdqinc / SDL_GameControllerDB

A community sourced database of game controller mappings to be used with SDL2 Game Controller functionality
http://libsdl.org
zlib License
1.38k stars 520 forks source link

Add another Xbox One Controller #717

Closed Epsilon99s closed 1 year ago

Epsilon99s commented 1 year ago

There are so many Xbox One Controllers out there now that some of them seem to fly under the radar and don't make it into the database. At least I couldn't find mine and thus some games and emulators don't see it. Its GUID is 030000005e040000e002000000007801

030000005e040000e002000000007801,Xbox One Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,leftshoulder:b4,leftstick:b8,lefttrigger:b8,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b9,righttrigger:b9,rightx:a3,righty:a4,start:b7,x:b2,y:b3,platform:Windows,

offalynne commented 1 year ago

There are so many Xbox One Controllers out there now

You're telling me, sibling !!!

Thankfully SDL has an XInput driver to take care of this so we don't have to. See the 7801 suffix ("x" in ASCII) per #478

Thanks, and have a great day