Ignore slot sync for slots > 256
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Feb 2020 03:18:48 +0000 (13:18 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 19 Feb 2020 03:24:21 +0000 (13:24 +1000)
commit6ccee710bd60fe9d0bc058cf7f7dbe960b3891dd
tree07bebc15dc3c46d1f4dede43b495a26d6a24660c
parente9ecb5cabc85e0737356d4c64d87eba03161bca4
Ignore slot sync for slots > 256

Clang doesn't support variable length arrays inside a struct so we could
either make our life complicated or just assume no-one is using more than 256
slots and hard-code that. Let's go for the easy solution until someone
notices.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
libevdev/libevdev.c