summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-10-16 05:10:08 +0000
committerQMK Bot <hello@qmk.fm>2021-10-16 05:10:08 +0000
commita27c949a32651c69037777a2dd3924910efb35f5 (patch)
treec034724975ef99dfb7da618ba8f360e922a98ccc /keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c
parentb36f2609fe6c98ebaa6706feb41859d7bc8c5fe8 (diff)
parenta8422cca0324ce61247dd0d8320a3d11a433cecf (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c')
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c b/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c
index f209206337..be2938ebf6 100644
--- a/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c
+++ b/keyboards/handwired/tractyl_manuform/5x6_right/keymaps/drashna/keymap.c
@@ -348,9 +348,16 @@ void render_kitty(void) {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x06, 0x04, 0x04, 0x04, 0x04, 0x05, 0x04, 0x04, 0x04, 0x07, 0x07, 0x07, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}};
// assumes 1 frame prep stage
+#ifdef SWAP_HANDS_ENABLE
extern bool swap_hands;
+#endif
void animation_phase(void) {
- if (tap_toggling) {
+# ifdef SWAP_HANDS_ENABLE
+ if (swap_hands)
+#else
+ if (tap_toggling)
+#endif
+ {
anim_frame_duration = 300;
current_rtogi_frame = (current_rtogi_frame + 1) % RTOGI_FRAMES;
oled_write_raw_P(rtogi[abs((RTOGI_FRAMES - 1) - current_rtogi_frame)], ANIM_SIZE);