We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c987f8 commit e0fe988Copy full SHA for e0fe988
1 file changed
input/drivers_joypad/sdl_joypad.c
@@ -135,13 +135,8 @@ static void sdl_pad_connect(unsigned id)
135
#ifdef HAVE_SDL2
136
guid = SDL_JoystickGetGUID(pad->joypad);
137
guid_ptr = (uint16_t*)guid.data;
138
-#ifdef __linux
139
vendor = guid_ptr[2];
140
product = guid_ptr[4];
141
-#elif _WIN32
142
- vendor = guid_ptr[0];
143
- product = guid_ptr[1];
144
-#endif
145
#ifdef WEBOS
146
if (vendor == 0x9999 && product == 0x9999)
147
{
0 commit comments