mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed build error (thanks @sezero!)
(cherry picked from commit ac5a61cd60)
This commit is contained in:
parent
45b804c158
commit
67c60e0b9c
1 changed files with 2 additions and 0 deletions
|
|
@ -907,7 +907,9 @@ static void LINUX_ScanSteamVirtualGamepads(void)
|
|||
int num_virtual_gamepads = 0;
|
||||
int virtual_gamepad_slot;
|
||||
VirtualGamepadEntry *virtual_gamepads = NULL;
|
||||
#ifdef SDL_USE_LIBUDEV
|
||||
int class;
|
||||
#endif
|
||||
|
||||
count = scandir("/dev/input", &entries, filter_entries, NULL);
|
||||
for (i = 0; i < count; ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue