summaryrefslogtreecommitdiff
path: root/keyboards/crkbd/keymaps/gotham/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-04-13 07:03:46 +0000
committerQMK Bot <hello@qmk.fm>2022-04-13 07:03:46 +0000
commit57d8bae083adf8688820dea53096ba2667507aa0 (patch)
tree0d0352226bad48014f9824584c5ea25e170fb49d /keyboards/crkbd/keymaps/gotham/config.h
parent64aa180775fb5305d7a59e60fee27ee4e231e82c (diff)
parent935af9e9996083c2b7e82f67072899e87c7f45ab (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/crkbd/keymaps/gotham/config.h')
-rw-r--r--keyboards/crkbd/keymaps/gotham/config.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/keyboards/crkbd/keymaps/gotham/config.h b/keyboards/crkbd/keymaps/gotham/config.h
index 1ff008b2de..45fe8c37a8 100644
--- a/keyboards/crkbd/keymaps/gotham/config.h
+++ b/keyboards/crkbd/keymaps/gotham/config.h
@@ -20,7 +20,16 @@
# define AUDIO_CLICKY
#endif
-#define OLED_FONT_H "keyboards/crkbd/keymaps/gotham/glcdfont.c"
+#ifdef OLED_ENABLE
+# define OLED_FONT_H "keyboards/crkbd/keymaps/gotham/glcdfont.c"
+# define SPLIT_LAYER_STATE_ENABLE
+# define SPLIT_LED_STATE_ENABLE
+# define SPLIT_MODS_ENABLE
+# define SPLIT_OLED_ENABLE
+# undef OLED_TIMEOUT
+ // due to timer_read() for render_prompt(), we have own implementation of oled time out
+# define OLED_KEY_TIMEOUT 30000
+#endif
#define RGBLIGHT_SLEEP