virtualx-engine/platform
Jari Ronkainen 299769a99a
Go through all event devices, not just event[0-32]
There are no guarantees that joypads are in event0-event32
range.  Some devices, such as laptops with detachable keyboards
and wacom can reserve events all the way up to 32.

Some udev rules with e.g. custom controller firmwares may
load the device as /dev/input/eventX, where X is greater than
32.

This patch uses POSIX dirent to enumerate the event devices, so
entries outside 0-32 range are not skipped.

(cherry picked from commit 01c030f9b7)
2021-02-02 13:02:45 +01:00
..
android [Plugins] Rename 'PluginConfig' struct to platform specific name 2021-01-15 02:12:53 +03:00
iphone Revert "[3.2] Add separate simulator flag for iOS build, change main library to xcframework." 2021-01-27 21:53:16 +01:00
javascript Don't handle BaseException in JavaScript build script 2021-01-28 19:43:08 +00:00
osx Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
server Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
uwp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
windows Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
x11 Go through all event devices, not just event[0-32] 2021-02-02 13:02:45 +01:00
register_platform_apis.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00