summaryrefslogtreecommitdiff
path: root/keyboards/1upkeyboards/sweet16/keymaps/dlaroe
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-08-26 09:30:12 -0700
committerDrashna Jaelre <drashna@live.com>2018-08-26 09:30:12 -0700
commit1ee545014a0415eee8cbe4a3773002fb13371d14 (patch)
tree2a4320e2dce1035b6b31909b9d93742418680178 /keyboards/1upkeyboards/sweet16/keymaps/dlaroe
parenteb19fb5b57487747d608fad986a70296da4deb12 (diff)
Keyboard: Make a 1upkeyboards directory for visibility (#3759)
Diffstat (limited to 'keyboards/1upkeyboards/sweet16/keymaps/dlaroe')
-rw-r--r--keyboards/1upkeyboards/sweet16/keymaps/dlaroe/keymap.c38
-rw-r--r--keyboards/1upkeyboards/sweet16/keymaps/dlaroe/readme.md3
2 files changed, 41 insertions, 0 deletions
diff --git a/keyboards/1upkeyboards/sweet16/keymaps/dlaroe/keymap.c b/keyboards/1upkeyboards/sweet16/keymaps/dlaroe/keymap.c
new file mode 100644
index 0000000000..b42c34edb7
--- /dev/null
+++ b/keyboards/1upkeyboards/sweet16/keymaps/dlaroe/keymap.c
@@ -0,0 +1,38 @@
+#include "sweet16.h"
+
+enum layers {
+ num,
+ extra,
+ mouse
+};
+
+
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ [num] = LAYOUT_numpad_4x4(
+ KC_P7, KC_P8, KC_P9, LT(extra, KC_PPLS),
+ KC_P4, KC_P5, KC_P6,
+ KC_P1, KC_P2, KC_P3, KC_PENT,
+ LT(mouse, KC_P0), KC_DOT
+ ),
+
+ [extra] = LAYOUT_numpad_4x4(
+ KC_PSLS, KC_PAST, KC_PMNS, KC_TRNS,
+ KC_BSPC, KC_EXECUTE, KC_DEL,
+ KC_LPRN, KC_RPRN, KC_PEQL, KC_PENT,
+ KC_TAB, KC_NLCK
+ ),
+
+
+[mouse] = LAYOUT_numpad_4x4(
+ KC_WH_D, KC_MS_U, KC_WH_U, LT(extra, KC_PPLS),
+ KC_MS_L, KC_MS_D, KC_MS_R,
+ KC_BTN1, KC_BTN2, KC_BTN3, KC_PENT,
+ KC_TRNS, KC_DOT
+ )
+
+
+
+
+};
+
diff --git a/keyboards/1upkeyboards/sweet16/keymaps/dlaroe/readme.md b/keyboards/1upkeyboards/sweet16/keymaps/dlaroe/readme.md
new file mode 100644
index 0000000000..aabcf82c61
--- /dev/null
+++ b/keyboards/1upkeyboards/sweet16/keymaps/dlaroe/readme.md
@@ -0,0 +1,3 @@
+# Dale's keymap for the Sweet16
+
+I wanted to reuse a standard numpad keyset and have the full functionality of an larger numpad with a nod to Excel functionality.