diff options
author | Jari Ronkainen <ronchaine@gmail.com> | 2021-01-26 15:06:19 +0200 |
---|---|---|
committer | Jari Ronkainen <ronchaine@gmail.com> | 2021-01-27 20:05:31 +0200 |
commit | 01c030f9b79ab8bb402b286704d4d58908d6d03c (patch) | |
tree | 12e5aeca602e7252f3322fca866bf3f7cffbe4d7 /thirdparty/bullet/BulletCollision/CollisionShapes/btTriangleMeshShape.cpp | |
parent | c5c9517e1e03175e9cdc483d3dce27fc531af2be (diff) |
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.
Diffstat (limited to 'thirdparty/bullet/BulletCollision/CollisionShapes/btTriangleMeshShape.cpp')
0 files changed, 0 insertions, 0 deletions