diff options
Diffstat (limited to 'keyboards/mechwild/murphpad/keymaps')
| -rw-r--r-- | keyboards/mechwild/murphpad/keymaps/default/keymap.c | 3 | ||||
| -rw-r--r-- | keyboards/mechwild/murphpad/keymaps/jonavin/keymap.c | 6 | ||||
| -rw-r--r-- | keyboards/mechwild/murphpad/keymaps/via/keymap.c | 3 |
3 files changed, 8 insertions, 4 deletions
diff --git a/keyboards/mechwild/murphpad/keymaps/default/keymap.c b/keyboards/mechwild/murphpad/keymaps/default/keymap.c index a30bf6bfa..fe46e8ce5 100644 --- a/keyboards/mechwild/murphpad/keymaps/default/keymap.c +++ b/keyboards/mechwild/murphpad/keymaps/default/keymap.c | |||
| @@ -115,7 +115,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { | |||
| 115 | oled_write_P(logo_4, false); | 115 | oled_write_P(logo_4, false); |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | void oled_task_user(void) { | 118 | bool oled_task_user(void) { |
| 119 | render_logo(); | 119 | render_logo(); |
| 120 | oled_set_cursor(0,6); | 120 | oled_set_cursor(0,6); |
| 121 | 121 | ||
| @@ -143,5 +143,6 @@ bool encoder_update_user(uint8_t index, bool clockwise) { | |||
| 143 | oled_write_ln_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); | 143 | oled_write_ln_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); |
| 144 | oled_write_ln_P(led_state.caps_lock ? PSTR("CAP ") : PSTR(" "), false); | 144 | oled_write_ln_P(led_state.caps_lock ? PSTR("CAP ") : PSTR(" "), false); |
| 145 | oled_write_ln_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false); | 145 | oled_write_ln_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false); |
| 146 | return false; | ||
| 146 | } | 147 | } |
| 147 | #endif | 148 | #endif |
diff --git a/keyboards/mechwild/murphpad/keymaps/jonavin/keymap.c b/keyboards/mechwild/murphpad/keymaps/jonavin/keymap.c index dc03e334b..043eeb992 100644 --- a/keyboards/mechwild/murphpad/keymaps/jonavin/keymap.c +++ b/keyboards/mechwild/murphpad/keymaps/jonavin/keymap.c | |||
| @@ -296,7 +296,7 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { | |||
| 296 | } | 296 | } |
| 297 | 297 | ||
| 298 | #ifdef LANDSCAPE_MODE | 298 | #ifdef LANDSCAPE_MODE |
| 299 | void oled_task_user(void) { | 299 | bool oled_task_user(void) { |
| 300 | 300 | ||
| 301 | render_logo(); | 301 | render_logo(); |
| 302 | oled_set_cursor(8,2); | 302 | oled_set_cursor(8,2); |
| @@ -359,6 +359,7 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { | |||
| 359 | oled_write_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); | 359 | oled_write_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); |
| 360 | oled_write_P(led_state.caps_lock ? PSTR("CAPS ") : PSTR(" "), false); | 360 | oled_write_P(led_state.caps_lock ? PSTR("CAPS ") : PSTR(" "), false); |
| 361 | oled_write_P(led_state.scroll_lock ? PSTR("SCR") : PSTR(" "), false); | 361 | oled_write_P(led_state.scroll_lock ? PSTR("SCR") : PSTR(" "), false); |
| 362 | return false; | ||
| 362 | } | 363 | } |
| 363 | #endif // LANDSCAPE_MODE | 364 | #endif // LANDSCAPE_MODE |
| 364 | 365 | ||
| @@ -368,7 +369,7 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { | |||
| 368 | return OLED_ROTATION_270; // flips the display 270 degrees | 369 | return OLED_ROTATION_270; // flips the display 270 degrees |
| 369 | } | 370 | } |
| 370 | 371 | ||
| 371 | void oled_task_user(void) { | 372 | bool oled_task_user(void) { |
| 372 | render_logo(); | 373 | render_logo(); |
| 373 | oled_set_cursor(0,5); | 374 | oled_set_cursor(0,5); |
| 374 | 375 | ||
| @@ -408,6 +409,7 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { | |||
| 408 | oled_write_ln_P(led_state.num_lock ? PSTR(" NUM") : PSTR(" "), false); | 409 | oled_write_ln_P(led_state.num_lock ? PSTR(" NUM") : PSTR(" "), false); |
| 409 | oled_write_ln_P(led_state.caps_lock ? PSTR(" CAP") : PSTR(" "), false); | 410 | oled_write_ln_P(led_state.caps_lock ? PSTR(" CAP") : PSTR(" "), false); |
| 410 | oled_write_ln_P(led_state.scroll_lock ? PSTR(" SCR") : PSTR(" "), false); | 411 | oled_write_ln_P(led_state.scroll_lock ? PSTR(" SCR") : PSTR(" "), false); |
| 412 | return false; | ||
| 411 | } | 413 | } |
| 412 | #endif // !LANDSCAPE_MODE | 414 | #endif // !LANDSCAPE_MODE |
| 413 | 415 | ||
diff --git a/keyboards/mechwild/murphpad/keymaps/via/keymap.c b/keyboards/mechwild/murphpad/keymaps/via/keymap.c index 17e4699a9..4f4f6d571 100644 --- a/keyboards/mechwild/murphpad/keymaps/via/keymap.c +++ b/keyboards/mechwild/murphpad/keymaps/via/keymap.c | |||
| @@ -113,7 +113,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) { | |||
| 113 | oled_write_P(logo_4, false); | 113 | oled_write_P(logo_4, false); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | void oled_task_user(void) { | 116 | bool oled_task_user(void) { |
| 117 | render_logo(); | 117 | render_logo(); |
| 118 | oled_set_cursor(0,6); | 118 | oled_set_cursor(0,6); |
| 119 | 119 | ||
| @@ -141,5 +141,6 @@ bool encoder_update_user(uint8_t index, bool clockwise) { | |||
| 141 | oled_write_ln_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); | 141 | oled_write_ln_P(led_state.num_lock ? PSTR("NUM ") : PSTR(" "), false); |
| 142 | oled_write_ln_P(led_state.caps_lock ? PSTR("CAP ") : PSTR(" "), false); | 142 | oled_write_ln_P(led_state.caps_lock ? PSTR("CAP ") : PSTR(" "), false); |
| 143 | oled_write_ln_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false); | 143 | oled_write_ln_P(led_state.scroll_lock ? PSTR("SCR ") : PSTR(" "), false); |
| 144 | return false; | ||
| 144 | } | 145 | } |
| 145 | #endif | 146 | #endif |
