add position maps

This commit is contained in:
snoyer 2025-12-24 16:11:30 +04:00
parent 859c6ca067
commit dccc7e9906
1 changed files with 21 additions and 0 deletions

View File

@ -46,4 +46,25 @@
, <&key_physical_attrs 100 100 200 300 0 0 0>
;
};
position_map {
compatible = "zmk,physical-layout-position-map";
horizontal_map: horizontal {
// A 7 8 9
// B 4 5 6
// C 1 2 3
physical-layout = <&horizontal_physical_layout>;
positions = </* 0 */ 1 2 3 4 5 6 7 8 /* 9 10 11 */>;
};
vertical_map: verctical {
// A B C
// 7 8 9
// 4 5 6
// 1 2 3
physical-layout = <&vertical_physical_layout>;
positions = </* 0 */ 3 4 5 1 6 7 8 2 /* 9 10 11 */>;
};
};
};