summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-02-12 17:09:34 +0000
committerGitHub <noreply@github.com>2023-02-12 17:09:34 +0000
commit6ceff1367d1d3c6fbf6f903ea9ef7aff9099eec5 (patch)
treeb073196d43f2133f3a1e515712194cc649159b6c /lib
parent13af26526837c9a82b53a42b1820ce19d587553c (diff)
Tidy up use of keycode range helpers (#19813)
Diffstat (limited to 'lib')
-rw-r--r--lib/python/qmk/cli/generate/keycodes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/qmk/cli/generate/keycodes.py b/lib/python/qmk/cli/generate/keycodes.py
index f5c646e0ea..17503bac63 100644
--- a/lib/python/qmk/cli/generate/keycodes.py
+++ b/lib/python/qmk/cli/generate/keycodes.py
@@ -13,6 +13,8 @@ def _translate_group(group):
"""
if group == 'modifiers':
return 'modifier'
+ if group == 'media':
+ return 'consumer'
return group