diff options
author | Will Winder <wwinder.unh@gmail.com> | 2022-07-02 08:07:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-02 22:07:35 +1000 |
commit | f03aec28fb6932bc8ab0b08a0007116a33419b9a (patch) | |
tree | 537c260b32d6c84d9c17aef5d866e37220a4e929 /keyboards/avalanche/v4/v4.c | |
parent | c3ef70b9a6a7123fe25fb89973070088a15ad69f (diff) |
[Keyboard] Add Avalanche v4 (#17288)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/avalanche/v4/v4.c')
-rw-r--r-- | keyboards/avalanche/v4/v4.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/avalanche/v4/v4.c b/keyboards/avalanche/v4/v4.c new file mode 100644 index 0000000000..69c64fc53c --- /dev/null +++ b/keyboards/avalanche/v4/v4.c @@ -0,0 +1,18 @@ +// Copyright 2022 Vitaly Volkov (@vlkv) +// SPDX-License-Identifier: GPL-2.0-or-later + +#include "avalanche.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 |