This commit is contained in:
zvecr 2022-04-20 23:47:08 +01:00
parent de45a60432
commit c01e8ed75d

View File

@ -177,7 +177,10 @@ def xap_dump_keymap(device):
0x29: 'KC_ESCAPE',
0xF9: 'KC_MS_WH_UP',
}
print(f'keycode:{keycode_map.get(keycode, "unknown")}')
print(f'keycode:{keycode_map.get(keycode, "unknown")}[{keycode}]')
# set encoder [layer:0, index:0, clockwise:0, keycode:KC_A]
_xap_transaction(device, 0x05, 0x03, b"\x00\x00\x00\x04\00")
def xap_doit():