mirror of https://github.com/zmkfirmware/zmk.git
add position maps
This commit is contained in:
parent
859c6ca067
commit
dccc7e9906
|
|
@ -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 */>;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue