Register keys for keypress only when needed

there seems to be an issue that with too many registered events some window
manager cannot recognize the device as input device with systemd 247.

PixlOne#166
This commit is contained in:
max
2020-12-14 20:02:44 +01:00
parent 911e91eeeb
commit f8eb77cad7
3 changed files with 16 additions and 6 deletions
+1
View File
@@ -44,6 +44,7 @@ namespace logid
explicit InputDevice(const char *name);
~InputDevice();
void registerKey(uint code);
void moveAxis(uint axis, int movement);
void pressKey(uint code);
void releaseKey(uint code);