Skip to content

Commit

Permalink
Treat xx in key_xx as a hex to match the dump
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Aug 5, 2021
1 parent a4452fa commit f30e1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dumang_ctrl/tools/config.py
Expand Up @@ -43,7 +43,7 @@ def init_receive_threads(kbds):

def configure_keys(cfg, b):
for k in cfg:
key = int(k.split('_')[1])
key = int(k.split('_')[1], 16)
layer_keycodes = {}
for l in cfg[k]:
layer = int(l.split('_')[1])
Expand Down

0 comments on commit f30e1ff

Please sign in to comment.