[Keyboard] Sol 3 Keyboard from RGBKB (#15687)

Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Franklyn Tackitt <franklyn@tackitt.net>
This commit is contained in:
XScorpion2
2022-01-21 21:51:12 -06:00
committed by GitHub
parent b45a037c7e
commit ad702096a9
25 changed files with 1268 additions and 14 deletions

View File

@@ -226,8 +226,8 @@ static void render_leds(void)
static void render_touch(void)
{
// Host Touch LED Status
oled_write_P(!touch_encoder_toggled() ? PSTR("TOUCH") : PSTR(" "), false);
oled_write_P(touch_encoder_calibrating() ? PSTR("CLBRT") : PSTR(" "), false);
oled_write_P(touch_encoder_is_on() ? PSTR("TOUCH") : PSTR(" "), false);
oled_write_P(touch_encoder_is_calibrating() ? PSTR("CLBRT") : PSTR(" "), false);
}
bool oled_task_user(void) {

View File

@@ -226,8 +226,8 @@ static void render_leds(void)
static void render_touch(void)
{
// Host Touch LED Status
oled_write_P(!touch_encoder_toggled() ? PSTR("TOUCH") : PSTR(" "), false);
oled_write_P(touch_encoder_calibrating() ? PSTR("CLBRT") : PSTR(" "), false);
oled_write_P(touch_encoder_is_on() ? PSTR("TOUCH") : PSTR(" "), false);
oled_write_P(touch_encoder_is_calibrating() ? PSTR("CLBRT") : PSTR(" "), false);
}
bool oled_task_user(void) {

View File

@@ -189,8 +189,8 @@ static void render_leds(void)
static void render_touch(void)
{
// Host Touch LED Status
oled_write_P(!touch_encoder_toggled() ? PSTR("TOUCH") : PSTR(" "), false);
oled_write_P(touch_encoder_calibrating() ? PSTR("CLBRT") : PSTR(" "), false);
oled_write_P(touch_encoder_is_on() ? PSTR("TOUCH") : PSTR(" "), false);
oled_write_P(touch_encoder_is_calibrating() ? PSTR("CLBRT") : PSTR(" "), false);
}
#else
static uint32_t scan_counter = 0;