summaryrefslogtreecommitdiff
path: root/keyboards/macrocat/keymaps/oled
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2022-08-10 18:34:20 -0700
committerGitHub <noreply@github.com>2022-08-10 18:34:20 -0700
commitc230d0658eb1e8293695d16ad93549b81059449f (patch)
tree1aa3ab82ce7b0e65e70edeab4fb7f451c646843c /keyboards/macrocat/keymaps/oled
parentd790b535802e4e219b37e6cbbb780239b0631b19 (diff)
MacroCat Refactor (#17969)
Diffstat (limited to 'keyboards/macrocat/keymaps/oled')
-rw-r--r--keyboards/macrocat/keymaps/oled/keymap.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/keyboards/macrocat/keymaps/oled/keymap.c b/keyboards/macrocat/keymaps/oled/keymap.c
index b9d5d9a9df..c9864c1dc7 100644
--- a/keyboards/macrocat/keymaps/oled/keymap.c
+++ b/keyboards/macrocat/keymaps/oled/keymap.c
@@ -4,28 +4,28 @@
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
- [0] = {
- {KC_PLUS, KC_9, KC_8, KC_7 },
- {KC_MINS, KC_6, KC_5, KC_4 },
- {KC_DOT, KC_3, KC_2, KC_1 },
- {KC_ENT, KC_SPACE, KC_0, MO(1)}
- },
- [1] = {
- {KC_ASTR, KC_MPRV, KC_MPLY,KC_MNXT},
- {KC_SLSH, KC_LPRN, KC_UP, KC_RPRN},
- {KC_COMM, KC_LEFT, KC_DOWN,KC_RIGHT},
- {KC_TAB, KC_BSPC, KC_0, KC_TRNS}
- },
- [2] = {
- {KC_NO, KC_NO, KC_NO, KC_NO},
- {KC_NO, KC_NO, KC_NO, KC_NO},
- {KC_NO, KC_NO, KC_NO, KC_NO},
- {KC_NO, KC_NO, KC_NO, KC_NO}
- },
- [3] = {
- {KC_NO, KC_NO, KC_NO, KC_NO},
- {KC_NO, KC_NO, KC_NO, KC_NO},
- {KC_NO, KC_NO, KC_NO, KC_NO},
- {KC_NO, KC_NO, KC_NO, KC_NO}
- }
+ [0] = LAYOUT_ortho_4x4(
+ KC_PLUS, KC_9, KC_8, KC_7 ,
+ KC_MINS, KC_6, KC_5, KC_4 ,
+ KC_DOT, KC_3, KC_2, KC_1 ,
+ KC_ENT, KC_SPACE, KC_0, MO(1)
+ ),
+ [1] = LAYOUT_ortho_4x4(
+ KC_ASTR, KC_MPRV, KC_MPLY,KC_MNXT,
+ KC_SLSH, KC_LPRN, KC_UP, KC_RPRN,
+ KC_COMM, KC_LEFT, KC_DOWN,KC_RIGHT,
+ KC_TAB, KC_BSPC, KC_0, KC_TRNS
+ ),
+ [2] = LAYOUT_ortho_4x4(
+ KC_NO, KC_NO, KC_NO, KC_NO,
+ KC_NO, KC_NO, KC_NO, KC_NO,
+ KC_NO, KC_NO, KC_NO, KC_NO,
+ KC_NO, KC_NO, KC_NO, KC_NO
+ ),
+ [3] = LAYOUT_ortho_4x4(
+ KC_NO, KC_NO, KC_NO, KC_NO,
+ KC_NO, KC_NO, KC_NO, KC_NO,
+ KC_NO, KC_NO, KC_NO, KC_NO,
+ KC_NO, KC_NO, KC_NO, KC_NO
+ )
};