This commit is contained in:
MinhTran 2021-11-15 17:42:34 -05:00
parent d3ea098d29
commit 7b86927d99
No known key found for this signature in database
GPG Key ID: D220F08535CA3DDA
3 changed files with 3 additions and 19 deletions

View File

@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MASTER_LEFT #define MASTER_LEFT
// #define MASTER_RIGHT // #define MASTER_RIGHT
// #define EE_HANDS #define EE_HANDS
#define TAPPING_FORCE_HOLD #define TAPPING_FORCE_HOLD
#define TAPPING_TERM 100 #define TAPPING_TERM 100
@ -41,18 +41,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE) #if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
#define NO_PRINT #define NO_PRINT
#endif // !NO_PRINT #endif // !NO_PRINT
/* #define RGBLIGHT_ANIMATIONS */
/* #undef RGBLED_NUM */
/* #define RGBLED_NUM 27 */
/* #define RGBLIGHT_LIMIT_VAL 120 */
/* #define RGBLIGHT_HUE_STEP 10 */
/* #define RGBLIGHT_SAT_STEP 17 */
/* #define RGBLIGHT_VAL_STEP 17 */
// Underglow
/*
#undef RGBLED_NUM
#define RGBLED_NUM 14 // Number of LEDs
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_SLEEP
*/

View File

@ -140,7 +140,7 @@ static void render_anim(void) {
} }
} }
} }
void oled_task_user(void) { bool oled_task_user(void) {
if (is_keyboard_master()) { if (is_keyboard_master()) {
// If you want to change the display of OLED, you need to change here // If you want to change the display of OLED, you need to change here
oled_write_ln(read_layer_state(), false); oled_write_ln(read_layer_state(), false);
@ -164,6 +164,7 @@ void oled_task_user(void) {
oled_set_cursor(0, 1); oled_set_cursor(0, 1);
oled_write_P(led_state.caps_lock ? PSTR("CAPS") : PSTR(" "), false); oled_write_P(led_state.caps_lock ? PSTR("CAPS") : PSTR(" "), false);
} }
return false;
} }
#endif // OLED_DRIVER_ENABLE #endif // OLED_DRIVER_ENABLE

View File

@ -20,8 +20,6 @@ WPM_ENABLE = yes
SPLIT_KEYBOARD = yes SPLIT_KEYBOARD = yes
OLED_ENABLE= yes # OLED display OLED_ENABLE= yes # OLED display
EXTRAKEY_ENABLE = yes EXTRAKEY_ENABLE = yes
SPLIT_COMMUNICATION = i2c
OLED_DRIVER = SSD1306
EXTRAFLAGS += -flto EXTRAFLAGS += -flto