aboutsummaryrefslogtreecommitdiff
path: root/keyboards/splitkb/kyria/keymaps/gotham/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/splitkb/kyria/keymaps/gotham/keymap.c')
-rw-r--r--keyboards/splitkb/kyria/keymaps/gotham/keymap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/keymap.c b/keyboards/splitkb/kyria/keymaps/gotham/keymap.c
index a725e61fe..498e1c112 100644
--- a/keyboards/splitkb/kyria/keymaps/gotham/keymap.c
+++ b/keyboards/splitkb/kyria/keymaps/gotham/keymap.c
@@ -22,7 +22,7 @@
22# include "encoder_utils.h" 22# include "encoder_utils.h"
23#endif 23#endif
24 24
25#ifdef OLED_DRIVER_ENABLE 25#ifdef OLED_ENABLE
26# include "oled_utils.h" 26# include "oled_utils.h"
27#endif 27#endif
28 28
@@ -103,7 +103,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
103 return true; 103 return true;
104} 104}
105 105
106#ifdef OLED_DRIVER_ENABLE 106#ifdef OLED_ENABLE
107oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; } 107oled_rotation_t oled_init_user(oled_rotation_t rotation) { return OLED_ROTATION_180; }
108 108
109void oled_task_user(void) { render_status(); } 109void oled_task_user(void) { render_status(); }
@@ -113,12 +113,12 @@ void oled_task_user(void) { render_status(); }
113bool encoder_update_user(uint8_t index, bool clockwise) { 113bool encoder_update_user(uint8_t index, bool clockwise) {
114 if (index == 0) { 114 if (index == 0) {
115 encoder_action(get_encoder_mode(true), clockwise); 115 encoder_action(get_encoder_mode(true), clockwise);
116# ifdef OLED_DRIVER_ENABLE 116# ifdef OLED_ENABLE
117 oled_on(); 117 oled_on();
118# endif 118# endif
119 } else if (index == 1) { 119 } else if (index == 1) {
120 encoder_action(get_encoder_mode(false), clockwise); 120 encoder_action(get_encoder_mode(false), clockwise);
121# ifdef OLED_DRIVER_ENABLE 121# ifdef OLED_ENABLE
122 oled_on(); 122 oled_on();
123# endif 123# endif
124 } 124 }