mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-23 16:41:05 +00:00
fixed build after commit d2372c8538
.
This commit is contained in:
parent
d2372c8538
commit
681f67d353
|
@ -2152,7 +2152,7 @@ static SDL_bool LINUX_JoystickGetGamepadMapping(int device_index, SDL_GamepadMap
|
||||||
xpadneo has a note about this in the driver code:
|
xpadneo has a note about this in the driver code:
|
||||||
https://github.com/atar-axis/xpadneo/blob/master/hid-xpadneo/src/hid-xpadneo.c#L1137
|
https://github.com/atar-axis/xpadneo/blob/master/hid-xpadneo/src/hid-xpadneo.c#L1137
|
||||||
*/
|
*/
|
||||||
if (SDL_IsJoystickXboxOneElite(SDL_GetJoystickVendor(joystick), SDL_GetJoystickProduct(joystick))) {
|
if (SDL_IsJoystickXboxOneElite(SDL_JoystickGetVendor(joystick), SDL_JoystickGetProduct(joystick))) {
|
||||||
int i;
|
int i;
|
||||||
unsigned int paddle_index = 0;
|
unsigned int paddle_index = 0;
|
||||||
SDL_InputMapping *paddles[4] = {
|
SDL_InputMapping *paddles[4] = {
|
||||||
|
|
Loading…
Reference in a new issue