feat(core): Make physical layout key rotation optional (#2770)

To be able to save on flash space, for layouts on space constrained
devices that don't require rotation, make key rotation props
optional behind a new Kconfig flag.
This commit is contained in:
Pete Johanson
2025-01-15 14:48:18 -07:00
committed by GitHub
parent 6941abc2af
commit c367d8f636
5 changed files with 19 additions and 3 deletions

View File

@@ -497,6 +497,10 @@ endif # ZMK_BLE || ZMK_SPLIT_BLE
endmenu # Initialization Priorities
config ZMK_PHYSICAL_LAYOUT_KEY_ROTATION
bool "Support rotation of keys in physical layouts"
default y
menuconfig ZMK_KSCAN
bool "ZMK KScan Integration"
default y