keychron_qmk_firmware/keyboards/avalanche/v4/v4.c

19 lines
381 B
C
Raw Normal View History

// Copyright 2022 Vitaly Volkov (@vlkv)
// SPDX-License-Identifier: GPL-2.0-or-later
#include "quantum.h"
#ifdef OLED_ENABLE
oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
return OLED_ROTATION_180;
}
bool oled_task_kb(void) {
if (!oled_task_user()) {
return false;
}
oled_write_P(PSTR("Avalanche\nVersion 4"), false);
return true;
}
#endif