summaryrefslogtreecommitdiff
path: root/totem/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'totem/keymaps/default/keymap.c')
-rw-r--r--totem/keymaps/default/keymap.c32
1 files changed, 11 insertions, 21 deletions
diff --git a/totem/keymaps/default/keymap.c b/totem/keymaps/default/keymap.c
index 22d0666..066d08c 100644
--- a/totem/keymaps/default/keymap.c
+++ b/totem/keymaps/default/keymap.c
@@ -76,27 +76,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-/*
- ╺━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸
-
-
- ██████
- ██ ▄▄▄▄
- ██ ██▀▀██
- ▀▀ ██▄▄██
- ██████ ▀▀▀▀
- ██ ▄▄▄▄▄▄
- ██ ██▀▀▀▀
- ██ ██████
- ██▄▄▄▄
- ▀▀▀▀▀▀
- ████████
- ██ ██ ██
- ██ ██ ██
- ▀▀ ▀▀ ▀▀
- ████████
-
-*/
+// better handling of home row modifiers
+// see https://getreuer.info/posts/keyboards/achordion/index.html
+#include "achordion.h"
+#include "achordion.c"
+bool process_record_user(uint16_t keycode, keyrecord_t* record) {
+ if (!process_achordion(keycode, record)) { return false; }
+ return true;
+}
+void matrix_scan_user(void) {
+ achordion_task();
+}