aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-12-16 20:31:06 +0100
committerLouis Burda <quent.burda@gmail.com>2022-12-16 20:31:06 +0100
commit8e8c972cbec56d8de31847981149cde4a8fc16cd (patch)
tree3f81fbb17a9e8338bf9b70f3e2059da50aebceca /src/keymap.c
parentcbb0ac4dac395ea287cf5e7cc211f81aef16e78f (diff)
downloadsxkbd-8e8c972cbec56d8de31847981149cde4a8fc16cd.tar.gz
sxkbd-8e8c972cbec56d8de31847981149cde4a8fc16cd.zip
Add stdio command interface, matrix syncing and basic evaluation
Diffstat (limited to 'src/keymap.c')
-rw-r--r--src/keymap.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/keymap.c b/src/keymap.c
index d8239fe..c4ffb2e 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1,4 +1,5 @@
#include "keymap.h"
+#include "keycode.h"
#include "keysym_de.h"
#include "board.h"
#include "util.h"
@@ -19,8 +20,8 @@
0x0, 0x0, 0x0, K44, K45, K46, \
K51, K52, K53, K54, K55, K56, \
K61, K62, K63, K64, K65, K66, \
- K31, K32, K33, K34, K35, K36, \
- K31, K32, K33, 0x0, 0x0, 0x0, \
+ K71, K72, K73, K74, K75, K76, \
+ K81, K82, K83, 0x0, 0x0, 0x0, \
}
enum {
@@ -31,12 +32,12 @@ static const uint32_t layer_base_de[] = KEYMAP(
_______, DE_Q , DE_W , DE_F , DE_P , DE_B ,
_______, DE_A , DE_R , DE_S , DE_T , DE_G ,
_______, DE_Z , DE_X , DE_C , DE_D , DE_V ,
- KC_LALT, KC_LGUI, _______,
+ KC_LGUI, KC_LALT, _______,
- _______, DE_J , DE_L , DE_U , DE_Y , _______,
- _______, DE_N , DE_E , DE_I , DE_O , _______,
- _______, DE_H , DE_SCLN, DE_DOT , DE_MINS, _______,
- _______, _______, _______
+ DE_J , DE_L , DE_U , DE_Y , DE_QUOT, _______,
+ DE_M , DE_N , DE_E , DE_I , DE_O , _______,
+ DE_K , DE_H , DE_COMM, DE_DOT , DE_MINS, _______,
+ _______, KC_SPC , KC_LCTL
);
const uint32_t *keymap_layers_de[] = {