mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-11 19:14:38 +00:00
[Keyboard] Enable RGBLIGHT_ANIMATIONS by default on the Zen rev2 (#5805)
* Enable RGBLIGHT_ANIMATIONS by default on the Zen rev2 * Also fixing OLED as it is upside down
This commit is contained in:
parent
e01b2d518a
commit
e83e316555
2 changed files with 3 additions and 2 deletions
|
@ -65,6 +65,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
/* ws2812 RGB LED */
|
/* ws2812 RGB LED */
|
||||||
#define RGBLED_NUM 34 // Number of LEDs
|
#define RGBLED_NUM 34 // Number of LEDs
|
||||||
|
#define RGBLIGHT_ANIMATIONS
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Feature disable options
|
* Feature disable options
|
||||||
|
|
|
@ -24,7 +24,7 @@ const char* layer_name_user(uint32_t layer) {
|
||||||
|
|
||||||
__attribute__((weak))
|
__attribute__((weak))
|
||||||
void render_status(void) {
|
void render_status(void) {
|
||||||
// Setup for 90 degree rendering because it's awesome!
|
// Setup for 270 degree rendering because it's awesome!
|
||||||
// It can house 16 lines of text, with 5 letters each line
|
// It can house 16 lines of text, with 5 letters each line
|
||||||
// Render to mode icon
|
// Render to mode icon
|
||||||
static const char PROGMEM mode_logo[2][4] = {
|
static const char PROGMEM mode_logo[2][4] = {
|
||||||
|
@ -49,7 +49,7 @@ void render_status(void) {
|
||||||
|
|
||||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||||
if (is_keyboard_master())
|
if (is_keyboard_master())
|
||||||
return OLED_ROTATION_90; // flips the display 90 degrees if mainhand
|
return OLED_ROTATION_270; // flips the display 270 degrees if mainhand
|
||||||
return rotation;
|
return rotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue