onekey: disable NKRO and mousekeys by default (#19038)

master
Ryan 2022-11-12 14:20:44 +11:00 committed by GitHub
parent 1caedd10c4
commit 8cecf7fad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

@ -13,10 +13,6 @@ OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
# LTO is required to fit the firmware into the available 24K of flash # LTO is required to fit the firmware into the available 24K of flash
LTO_ENABLE = yes LTO_ENABLE = yes
# Disable some features which still don't fit into flash even with LTO
MOUSEKEY_ENABLE = no
NKRO_ENABLE = no
# EEPROM emulation not supported yet (need to implement a proper firmware size # EEPROM emulation not supported yet (need to implement a proper firmware size
# check first, otherwise the chance of the EEPROM backing store overwriting # check first, otherwise the chance of the EEPROM backing store overwriting
# some part of the firmware code is really high). # some part of the firmware code is really high).

View File

@ -10,11 +10,11 @@
"diode_direction": "COL2ROW", "diode_direction": "COL2ROW",
"features": { "features": {
"bootmagic": false, "bootmagic": false,
"mousekey": true, "mousekey": false,
"extrakey": true, "extrakey": true,
"console": true, "console": true,
"command": false, "command": false,
"nkro": true, "nkro": false,
"backlight": false, "backlight": false,
"rgblight": false, "rgblight": false,
"audio": false "audio": false