summaryrefslogtreecommitdiff
path: root/keyboards/hackpad/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hackpad/keymaps/default/keymap.c')
-rw-r--r--keyboards/hackpad/keymaps/default/keymap.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboards/hackpad/keymaps/default/keymap.c b/keyboards/hackpad/keymaps/default/keymap.c
new file mode 100644
index 0000000000..43489484ae
--- /dev/null
+++ b/keyboards/hackpad/keymaps/default/keymap.c
@@ -0,0 +1,30 @@
+// Copyright 2023 Nico Stuhlmueller (@ThePurox)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+#include "keymap_german.h"
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /* ┌───┐
+ * │MUT│
+ * ┌───┬───┬───┼───┤
+ * │ 7 │ 8 │ 9 │ + │
+ * ├───┼───┼───┼───┤
+ * │ 4 │ 5 │ 6 │ - │
+ * ├───┼───┼───┼───┤
+ * │ 1 │ 2 │ 3 │ * │
+ * ├───┼───┼───┼───┤
+ * │ 0 │ . │Ent│ / │
+ * └───┴───┴───┴───┘
+ */
+ [0] = LAYOUT( LT(1, KC_MUTE),
+ KC_7, KC_8, KC_9, DE_PLUS,
+ KC_4, KC_5, KC_6, DE_MINS,
+ KC_1, KC_2, KC_3, DE_ASTR,
+ KC_0, KC_DOT, KC_ENT, DE_SLSH),
+
+ [1] = LAYOUT( _______,
+ RGB_M_P, RGB_M_B, RGB_M_R, RGB_HUI,
+ RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_HUD,
+ RGB_M_X, RGB_M_G, RGB_M_TW, RGB_VAI,
+ RGB_TOG, RGB_SAI, RGB_SAD, RGB_VAD)};