Browse Source

Add keycodes properly.

xmkb
CrossR 4 years ago
parent
commit
d848034c81
  1. 2
      app/boards/shields/sofle/sofle.keymap
  2. 5
      app/include/dt-bindings/zmk/keys.h

2
app/boards/shields/sofle/sofle.keymap

@ -52,7 +52,7 @@
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &kp INS &kp PRSC &kp GUI &trans &trans &kp PGUP &trans &kp UARW &trans &kp NUM_0 &trans &trans &kp INS &kp PRSC &kp GUI &trans &trans &kp PGUP &trans &kp UARW &trans &kp NUM_0 &trans
&trans &kp LALT &kp LCTL &kp LSFT &trans &kp CLCK &kp PGDN &kp LARW &kp DARW &kp RARW &kp DEL &kp BKSP &trans &kp LALT &kp LCTL &kp LSFT &trans &kp CLCK &kp PGDN &kp LARW &kp DARW &kp RARW &kp DEL &kp BKSP
&trans &kp 0x7A &kp 0x7B &kp 0x7C &kp 0x7D &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp UNDO &kp CUT &kp COPY &kp PSTE &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>; >;
}; };

5
app/include/dt-bindings/zmk/keys.h

@ -92,6 +92,11 @@
#define GUI 0x65 #define GUI 0x65
#define UNDO 0x7A
#define CUT 0x7B
#define COPY 0x7C
#define PSTE 0x7D
#define CURU 0xB4 #define CURU 0xB4
#define LPRN 0xB6 #define LPRN 0xB6

Loading…
Cancel
Save