1
0
Fork 0

Helix/rev2 move to split common (#16723)

This commit is contained in:
Takeshi ISHII 2022-04-22 06:33:08 +09:00 committed by GitHub
parent 969c68a9ad
commit 8f692e22e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 162 additions and 2068 deletions

View file

@ -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;