summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/prog_qgmlwb/src/layouts.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 /keyboards/planck/keymaps/prog_qgmlwb/src/layouts.h
parentef633cf46139282daaca77939937f7ba2519f56b (diff)
[Keymap] Add prog_qgmlwb keymap (#16890)
Diffstat (limited to 'keyboards/planck/keymaps/prog_qgmlwb/src/layouts.h')
-rw-r--r--keyboards/planck/keymaps/prog_qgmlwb/src/layouts.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/prog_qgmlwb/src/layouts.h b/keyboards/planck/keymaps/prog_qgmlwb/src/layouts.h
new file mode 100644
index 0000000000..19cbefb9ab
--- /dev/null
+++ b/keyboards/planck/keymaps/prog_qgmlwb/src/layouts.h
@@ -0,0 +1,27 @@
+// Copyright 2022 David Kristoffersen (@davidkristoffersen)
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#include QMK_KEYBOARD_H
+
+#include "davidkristoffersen.h"
+#include "enums.h"
+
+#include "normal.h"
+#include "qgmlwb.h"
+#include "special.h"
+
+#define KEYMAP const uint16_t PROGMEM
+
+// Layouts keycodes
+#define lower MO(NORMAL_LOWER)
+#define raise MO(NORMAL_RAISE)
+
+#define QLower MO(QGMLWB_LOWER)
+#define QRaise MO(QGMLWB_RAISE)
+
+#define adjust MO(ADJUST)
+#define numpad MO(NUMPAD)
+
+extern KEYMAP keymaps [][MATRIX_ROWS][MATRIX_COLS];