diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-02-12 21:24:02 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-02-12 21:24:02 +0100 |
commit | 723015f39c9c5f2e65e27aff41ba0360d175fbea (patch) | |
tree | 3950dfe5f51a1021806501650ca0aaf859fc9604 | |
parent | d102f07197b1ba2e9ec262bf1dd56a51d4866b1b (diff) |
uinput_mng: disregard EV_MSC/MSC_SCAN events
Those are sent by the keyboard driver.
-rwxr-xr-x | uinput_mng | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -137,6 +137,8 @@ class UInputDevice: raise finally: self._dev.end_erase(erase) + elif ev.type == ecodes.EV_MSC and ev.type == ecodes.MSC_SCAN: + self._logger.debug('Ignoring MSC_SCAN: %d', ev.value) else: self._logger.warning('Unhandled event on the virtual device: %s', ev) |