summaryrefslogtreecommitdiff
path: root/users/davidkristoffersen/macros/macros.h
diff options
context:
space:
mode:
authorDavid Kristoffersen <david.alta2010@gmail.com>2022-07-02 14:18:21 +0200
committerGitHub <noreply@github.com>2022-07-02 22:18:21 +1000
commita80943579c88255fff9de57978b8e577d184785c (patch)
treedba57e907e20f50f4c9cbee22866d99a620e5d0d /users/davidkristoffersen/macros/macros.h
parentef633cf46139282daaca77939937f7ba2519f56b (diff)
[Keymap] Add prog_qgmlwb keymap (#16890)
Diffstat (limited to 'users/davidkristoffersen/macros/macros.h')
-rw-r--r--users/davidkristoffersen/macros/macros.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/users/davidkristoffersen/macros/macros.h b/users/davidkristoffersen/macros/macros.h
new file mode 100644
index 0000000000..fb1e5c862c
--- /dev/null
+++ b/users/davidkristoffersen/macros/macros.h
@@ -0,0 +1,23 @@
+// Copyright 2022 David Kristoffersen (@davidkristoffersen)
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#include "davidkristoffersen.h"
+
+enum keycodes {
+ // Test keys
+ KC_T0 = SAFE_RANGE,
+ KC_T1,
+ KC_T2,
+ // Norwegian Æ, Ø, Å
+ KC_AE,
+ KC_OE,
+ KC_AA
+};
+
+bool process_debug(uint16_t keycode, keyrecord_t* record);
+bool process_language(uint16_t keycode, keyrecord_t* record);
+
+// Prepend key records with macros
+bool process_record_user(uint16_t keycode, keyrecord_t* record);