diff options
author | Sven Gothel <[email protected]> | 2019-11-29 07:25:20 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-11-29 07:25:20 +0100 |
commit | bdbdcdc800294db3a84926b79503fc2e0e919128 (patch) | |
tree | 7dfa23f354888d32784b99739780afdb55e81d21 /src/newt/native | |
parent | 0d505c3e6dc75687b8bb2ff4f6df6680a084736f (diff) |
Bug 1156: LinuxKeyEventTracker: Fix 64bit InputEvent and attempt to only use keyboard event files
The time structure on 64bit machines uses two 8 byte long values instead of two 4 bytes int values on 32bit machines.
The insufficient read on 64bit machines caused an IllegalArgument exception.
This fix considers 32 or 64 bit operation.
Class renamed: LinuxEventDeviceTracker -> LinuxKeyEventTracker, as it tracks key events specifically.
Now the EventDeviceManager tries to only use /dev/input/by-id/*-event-kbd keyboard event files,
which reduces the handling on kbd event files only.
Diffstat (limited to 'src/newt/native')
0 files changed, 0 insertions, 0 deletions