summaryrefslogtreecommitdiff
path: root/keyboards/kyria/keymaps/gotham/oled_utils.h
diff options
context:
space:
mode:
authorGautham Yerroju <gautham.yerroju@gmail.com>2020-06-13 01:24:13 -0700
committerGitHub <noreply@github.com>2020-06-13 01:24:13 -0700
commit4057d44989e2ee83ca3b171bdb1a29bc9f3ae0cd (patch)
treef74840f3af9af8ed245748fb430e363594a3d8c3 /keyboards/kyria/keymaps/gotham/oled_utils.h
parent2bfcb6bfc5766ede2b63041af3a163408caa6ad9 (diff)
[Keymap] Add Kyria keymap (#9224)
* Add Kyria keymap * clean split hand detection code * rename "joystick" to "thumbstick" * thumbstick overhaul * removed angle correction, seems buggy * save some memory * Remove deprecated config option * Use the correct types for getting host led states * Fix include path * Made .h files for encoder and oled code * Increase speed cap on thumbstick
Diffstat (limited to 'keyboards/kyria/keymaps/gotham/oled_utils.h')
-rw-r--r--keyboards/kyria/keymaps/gotham/oled_utils.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/keyboards/kyria/keymaps/gotham/oled_utils.h b/keyboards/kyria/keymaps/gotham/oled_utils.h
new file mode 100644
index 0000000000..7e3bf44c82
--- /dev/null
+++ b/keyboards/kyria/keymaps/gotham/oled_utils.h
@@ -0,0 +1,25 @@
+#pragma once
+
+#include "keycodes.h"
+
+#ifdef ENCODER_ENABLE
+# include "encoder_utils.h"
+#endif
+
+#ifdef THUMBSTICK_ENABLE
+# include "thumbstick.h"
+#endif
+
+void render_kyria_logo(void);
+
+void render_layer(void);
+
+#ifdef ENCODER_ENABLE
+void render_encoder(encoder_mode_t mode);
+#endif
+
+#ifdef THUMBSTICK_ENABLE
+void render_thumbstick(thumbstick_mode_t mode);
+#endif
+
+void render_status(void);