diff options
author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2022-04-22 06:33:08 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 14:33:08 -0700 |
commit | 8f692e22e3ce176671bbdde51478ce0e6a57875b (patch) | |
tree | 88f676a2390648c72a0032e21384e3a41cf0bd8e /keyboards/helix/rev2/rev2.c | |
parent | 969c68a9ad1474f578e69469807cf5e3405cd3ae (diff) |
Helix/rev2 move to split common (#16723)
Diffstat (limited to 'keyboards/helix/rev2/rev2.c')
-rw-r--r-- | keyboards/helix/rev2/rev2.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/keyboards/helix/rev2/rev2.c b/keyboards/helix/rev2/rev2.c index ba29f3c7de..2bbe9a28e2 100644 --- a/keyboards/helix/rev2/rev2.c +++ b/keyboards/helix/rev2/rev2.c @@ -20,14 +20,6 @@ // for the old keymap.c. uint8_t is_master = false; -#ifdef SSD1306OLED -#include "ssd1306.h" - -bool process_record_kb(uint16_t keycode, keyrecord_t *record) { - return process_record_gfx(keycode,record) && process_record_user(keycode, record); -} -#endif - bool is_mac_mode(void) { // This is the opposite of the QMK standard, but we'll leave it for backwards compatibility. return keymap_config.swap_lalt_lgui == false; @@ -59,12 +51,6 @@ void keyboard_post_init_kb(void) { keyboard_post_init_user(); } -#if defined(SPLIT_KEYBOARD) && defined(SSD1306OLED) -void matrix_slave_scan_user(void) { - matrix_scan_user(); -} -#endif - #ifdef OLED_ENABLE void render_helix_logo(void) { static const char helix_logo[] PROGMEM ={ @@ -82,7 +68,7 @@ bool oled_task_kb(void) { oled_write_P(led_state.num_lock ? PSTR("NUMLOCK") : PSTR(" "), false); oled_write_P(led_state.caps_lock ? PSTR("CAPS") : PSTR(" "), false); oled_write_P(led_state.scroll_lock ? PSTR("SCLK") : PSTR(" "), false); - oled_write_P(PSTR("\n"), false); + oled_advance_page(true); render_helix_logo(); } return false; |