Also log modifiers for key presses
This commit is contained in:
parent
fb626ca5a8
commit
2ab270dfac
@ -131,8 +131,9 @@ class BaseKeyParser(QObject):
|
||||
"""
|
||||
key = e.key()
|
||||
txt = str(keyutils.KeyInfo.from_event(e))
|
||||
self._debug_log("Got key: 0x{:x} / text: '{}' / dry_run {}".format(
|
||||
key, txt, dry_run))
|
||||
self._debug_log("Got key: 0x{:x} / modifiers: 0x{:x} / text: '{}' / "
|
||||
"dry_run {}".format(key, int(e.modifiers()), txt,
|
||||
dry_run))
|
||||
|
||||
if keyutils.is_modifier_key(key):
|
||||
self._debug_log("Ignoring, only modifier")
|
||||
|
Loading…
Reference in New Issue
Block a user