summaryrefslogtreecommitdiff
path: root/keyboards/work_louder/numpad/keymaps/default/keymap.c
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2022-11-05 10:55:42 -0700
committerGitHub <noreply@github.com>2022-11-05 17:55:42 +0000
commite3a97eb1c8b97ff37412913e53f34cb7918497f1 (patch)
tree24a9a51cb69ae06ee5aa03a06c446b5c6d6fb362 /keyboards/work_louder/numpad/keymaps/default/keymap.c
parent7fe76e53c1e7c1569a99b6dbf3eee11aad3df094 (diff)
[Keyboard] Add Work Louder Numpad (#18912)
* [Keyboard] Add Work Louder Numpad * Add future proofing for rgb matrix * Update readme * fixup copyright headers * Actually enable via
Diffstat (limited to 'keyboards/work_louder/numpad/keymaps/default/keymap.c')
-rw-r--r--keyboards/work_louder/numpad/keymaps/default/keymap.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/keyboards/work_louder/numpad/keymaps/default/keymap.c b/keyboards/work_louder/numpad/keymaps/default/keymap.c
new file mode 100644
index 0000000000..f4962b8be7
--- /dev/null
+++ b/keyboards/work_louder/numpad/keymaps/default/keymap.c
@@ -0,0 +1,24 @@
+// Copyright 2022 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┬───┬───┬───┐
+ * │ 7 │ 8 │ 9 │ / │
+ * ├───┼───┼───┼───┤
+ * │ 4 │ 5 │ 6 │ * │
+ * ├───┼───┼───┼───┤
+ * │ 1 │ 2 │ 3 │ - │
+ * ├───┼───┼───┼───┤
+ * │ 0 │ . │Ent│ + │
+ * └───┴───┴───┴───┘
+ */
+ [0] = LAYOUT_ortho_4x4(
+ KC_P7, KC_P8, KC_P9, KC_PSLS,
+ KC_P4, KC_P5, KC_P6, KC_PAST,
+ KC_P1, KC_P2, KC_P3, KC_PMNS,
+ KC_P0, KC_PDOT, KC_PENT, KC_PPLS
+ )
+};