summaryrefslogtreecommitdiff
path: root/keyboards/mechwild/murphpad/keymaps/via/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechwild/murphpad/keymaps/via/keymap.c')
-rw-r--r--keyboards/mechwild/murphpad/keymaps/via/keymap.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/keyboards/mechwild/murphpad/keymaps/via/keymap.c b/keyboards/mechwild/murphpad/keymaps/via/keymap.c
index 630b47f8cb..bd74d2184f 100644
--- a/keyboards/mechwild/murphpad/keymaps/via/keymap.c
+++ b/keyboards/mechwild/murphpad/keymaps/via/keymap.c
@@ -32,9 +32,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_MUTE, KC_P4, KC_P5, KC_P6, KC_NO,
MO(_FN1), KC_P1, KC_P2, KC_P3, KC_PENT,
KC_BSPC, KC_P0, KC_NO, KC_PDOT, KC_NO,
-
+
_______, _______, _______
-
+
),
[_FN1] = LAYOUT(
_______, _______, _______, _______,
@@ -43,9 +43,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, RGB_RMOD, RGB_TOG, RGB_MOD, KC_NO,
_______, RGB_VAD, RGB_SPD, RGB_VAI, _______,
_______, RGB_SAD, KC_NO, RGB_SAI, KC_NO,
-
+
_______, _______, _______
-
+
),
[_FN2] = LAYOUT(
_______, _______, _______, _______,
@@ -54,10 +54,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, KC_NO,
_______, _______, _______, _______, _______,
_______, _______, _______, _______, KC_NO,
-
+
_______, _______, _______
-
- ),
+
+ ),
[_FN3] = LAYOUT(
_______, _______, _______, _______,
_______, _______, _______, _______,
@@ -65,14 +65,14 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
_______, _______, _______, _______, KC_NO,
_______, _______, _______, _______, _______,
_______, _______, _______, _______, KC_NO,
-
+
_______, _______, _______
-
- )
+
+ )
};
#ifdef ENCODER_ENABLE
-void encoder_update_user(uint8_t index, bool clockwise) {
+bool encoder_update_user(uint8_t index, bool clockwise) {
switch (index) {
case 0:
if (clockwise) {
@@ -82,7 +82,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
}
break;
}
-
+ return true;
}
#endif
@@ -107,7 +107,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
}
void oled_task_user(void) {
- render_logo();
+ render_logo();
oled_set_cursor(0,6);
oled_write_ln_P(PSTR("Layer"), false);
@@ -135,4 +135,4 @@ void encoder_update_user(uint8_t index, bool clockwise) {
oled_write_ln_P(led_state.caps_lock ? PSTR("CAP ") : PSTR(" "), false);
oled_write_ln_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false);
}
-#endif \ No newline at end of file
+#endif