From d7ebdfb490f6872589aa02a3d6fe601fcdac5ca4 Mon Sep 17 00:00:00 2001 From: Spaceman Date: Wed, 30 Jan 2019 12:10:31 -0500 Subject: Sweet16 Keymap by Spaceman added (#5003) * Create keymap.c * Update keymap.c * Changed a few things * Update keymap.c * fixed something i broke --- .../1upkeyboards/sweet16/keymaps/sebas/keymap.c | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 keyboards/1upkeyboards/sweet16/keymaps/sebas/keymap.c diff --git a/keyboards/1upkeyboards/sweet16/keymaps/sebas/keymap.c b/keyboards/1upkeyboards/sweet16/keymaps/sebas/keymap.c new file mode 100644 index 0000000000..a7e587426b --- /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 +) +}; -- cgit v1.2.3