Add eeprom init route
This commit is contained in:
parent
ac96f59249
commit
7ee5347485
7 changed files with 44 additions and 4 deletions
|
|
@ -225,3 +225,9 @@ class XAPDevice(XAPDeviceBase):
|
|||
"""
|
||||
status = self.int_transaction(XAPRoutes.QMK_BOOTLOADER_JUMP)
|
||||
return status == 1
|
||||
|
||||
def reinit(self):
|
||||
"""Request device reset EEPROM - Requires previous unlock
|
||||
"""
|
||||
status = self.int_transaction(XAPRoutes.QMK_EEPROM_RESET)
|
||||
return status == 1
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ class XAPRoutes():
|
|||
QMK_CONFIG_BLOB_CHUNK = b'\x01\x06'
|
||||
QMK_BOOTLOADER_JUMP = b'\x01\x07'
|
||||
QMK_HARDWARE_ID = b'\x01\x08'
|
||||
QMK_EEPROM_RESET = b'\x01\x09'
|
||||
# KEYMAP
|
||||
KEYMAP_CAPABILITIES_QUERY = b'\x04\x01'
|
||||
KEYMAP_GET_LAYER_COUNT = b'\x04\x02'
|
||||
|
|
|
|||
Loading…
Reference in a new issue