Tidy up use of keycode range helpers (#19813)
This commit is contained in:
@ -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