zmk_mf68/app/boards/shields/romac/romac.keymap

47 lines
953 B
Text
Raw Normal View History

2020-08-24 05:02:28 +10:00
/*
* Copyright (c) 2020 The ZMK Contributors
2020-08-24 05:02:28 +10:00
*
* SPDX-License-Identifier: MIT
*/
2020-08-23 06:47:29 +10:00
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
2020-08-23 06:47:29 +10:00
/ {
keymap {
compatible = "zmk,keymap";
2020-08-23 06:47:29 +10:00
default_layer {
// -------------------
// | 7 | 8 | 9 |
// | 4 | 5 | 6 |
// | 1 | 2 | 3 |
// | MO(1) | 0 | . |
// ----------------------
bindings = <
&kp N7 &kp N8 &kp N9
&kp N4 &kp N5 &kp N6
&kp N1 &kp N2 &kp N3
&mo 1 &kp N0 &kp DOT
2020-08-23 06:47:29 +10:00
>;
};
nav_layer {
// -----------------------
// | BTNXT | HOME | PGUP |
// | BTPRV | END | PGDN |
// | BTCLR | _ | _ |
// | _ | _ | RET |
2020-08-23 06:47:29 +10:00
// -----------------------
bindings = <
&bt BT_NXT &kp HOME &kp PG_UP
&bt BT_PRV &kp END &kp PG_DN
&bt BT_CLR &trans &trans
&trans &trans &kp RET
2020-08-23 06:47:29 +10:00
>;
};
};
};