aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-12-18 18:12:21 +0100
committerLouis Burda <quent.burda@gmail.com>2022-12-18 18:12:21 +0100
commit8e60c68eac5dbe749c80d1b42160ad1f7de42200 (patch)
tree31ee21c5ef4b31d2eac09909136d976b71771529 /src/keymap.h
parent4995cfc61e7d2d0c05cf493959456b5bc9a74f19 (diff)
downloadsxkbd-8e60c68eac5dbe749c80d1b42160ad1f7de42200.tar.gz
sxkbd-8e60c68eac5dbe749c80d1b42160ad1f7de42200.zip
Added layer switching and debouncing
Diffstat (limited to 'src/keymap.h')
-rw-r--r--src/keymap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/keymap.h b/src/keymap.h
index 4d33da6..d8a5755 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -1,9 +1,11 @@
#pragma once
+#include "keymat.h"
+
#include <stdint.h>
-extern const uint32_t *keymap_layers_de[];
+extern const uint32_t keymap_layers_de[][KEY_ROWS][KEY_COLS];
extern const uint32_t keymap_layers_de_count;
-extern const uint32_t **keymap_layers;
+extern const uint32_t (*keymap_layers)[KEY_ROWS][KEY_COLS];
extern uint32_t keymap_layers_count;