From 723015f39c9c5f2e65e27aff41ba0360d175fbea Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 12 Feb 2022 21:24:02 +0100 Subject: uinput_mng: disregard EV_MSC/MSC_SCAN events Those are sent by the keyboard driver. --- uinput_mng | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uinput_mng b/uinput_mng index b6813aa..e349a9a 100755 --- a/uinput_mng +++ b/uinput_mng @@ -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) -- cgit v1.2.3