Tidy up use of keycode range helpers (#19813)
This commit is contained in:
1 parent
13af265268
commit
6ceff1367d
4 files changed
+8
-9
No files matched your search
@@ -13,6 +13,8 @@ def _translate_group(group):
|
||||
"""
|
||||
if group == 'modifiers':
|
||||
return 'modifier'
|
||||
if group == 'media':
|
||||
return 'consumer'
|
||||
return group
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user