Tidy up use of keycode range helpers (#19813)
This commit is contained in:
parent
13af265268
commit
6ceff1367d
4 changed files with 8 additions and 9 deletions
|
@ -13,6 +13,8 @@ def _translate_group(group):
|
|||
"""
|
||||
if group == 'modifiers':
|
||||
return 'modifier'
|
||||
if group == 'media':
|
||||
return 'consumer'
|
||||
return group
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue