summaryrefslogtreecommitdiffstats
path: root/keyboards/1upkeyboards
diff options
context:
space:
mode:
authorSpaceman <rionlion100@gmail.com>2019-01-30 18:10:31 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-01-30 18:10:31 +0100
commitd7ebdfb490f6872589aa02a3d6fe601fcdac5ca4 (patch)
tree3e4896a63ab1c63b02d1da450467b06e9ae6daf2 /keyboards/1upkeyboards
parent4c155559d5e4680af6fc4eec99aa5dc2841bc429 (diff)
downloadqmk_firmware-d7ebdfb490f6872589aa02a3d6fe601fcdac5ca4.tar.gz
qmk_firmware-d7ebdfb490f6872589aa02a3d6fe601fcdac5ca4.tar.xz
Sweet16 Keymap by Spaceman added (#5003)
* Create keymap.c * Update keymap.c * Changed a few things * Update keymap.c * fixed something i broke
Diffstat (limited to 'keyboards/1upkeyboards')
-rw-r--r--keyboards/1upkeyboards/sweet16/keymaps/sebas/keymap.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/keyboards/1upkeyboards/sweet16/keymaps/sebas/keymap.c b/keyboards/1upkeyboards/sweet16/keymaps/sebas/keymap.c
new file mode 100644
index 000000000..a7e587426
--- /dev/null
+++ b/keyboards/1upkeyboards/sweet16/keymaps/sebas/keymap.c
@@ -0,0 +1,23 @@
+#include QMK_KEYBOARD_H
+#define ALT TG(_FUNC)
+
+enum layers {
+ _KEYP,
+ _FUNC
+};
+
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+[_KEYP]=LAYOUT_ortho_4x4(
+ KC_P7, KC_P8, KC_P9, ALT,
+ KC_P4, KC_P5, KC_P6, KC_PAST,
+ KC_P1, KC_P2, KC_P3, KC_PMNS,
+ KC_P0, KC_PDOT, KC_PENT, KC_PPLS
+),
+[_FUNC]=LAYOUT_ortho_4x4(
+ KC_MPRV, KC_MPLY, KC_MNXT, _______,
+ XXXXXXX, XXXXXXX, XXXXXXX, KC_NLCK,
+ KC_INS, KC_HOME, KC_PGUP, XXXXXXX,
+ KC_DEL, KC_END, KC_PGDN, XXXXXXX
+)
+};