summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/hieax/common/init.h
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-12-17 21:54:01 +1100
committerGitHub <noreply@github.com>2023-12-17 21:54:01 +1100
commit7ea022ba88125c27ef2d137f52e7cf846ddb4ee9 (patch)
tree3998727ea1224c872f50bb53ab220841962d814f /keyboards/planck/keymaps/hieax/common/init.h
parentf0e4bc937aeaf84887ab27d7e085e6d02fbebda9 (diff)
[Keymap Removal] Planck and related keymaps. (#22683)
Diffstat (limited to 'keyboards/planck/keymaps/hieax/common/init.h')
-rw-r--r--keyboards/planck/keymaps/hieax/common/init.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/keyboards/planck/keymaps/hieax/common/init.h b/keyboards/planck/keymaps/hieax/common/init.h
deleted file mode 100644
index d009bd69a1..0000000000
--- a/keyboards/planck/keymaps/hieax/common/init.h
+++ /dev/null
@@ -1,32 +0,0 @@
-
-// ....................................................................... Audio
-
-void matrix_init_user(void)
-{
-#ifdef STENO_ENABLE
- steno_set_mode(STENO_MODE_BOLT); // or STENO_MODE_GEMINI
-#endif
-}
-
-#ifdef AUDIO_ENABLE
-#ifdef BACKLIGHT_ENABLE
-bool led_update_user(led_t led_state)
-{
- static led_t old_led_state = {0};
- _delay_ms(10); // gets rid of tick
- if (!is_playing_notes()) {
- if (led_state.caps_lock && !old_led_state.caps_lock) {
- // if capslock LED is turning on
- PLAY_SONG(song_caps_on);
- }
- else if (!led_state.caps_lock && old_led_state.caps_lock) {
- // if capslock LED is turning off
- PLAY_SONG(song_caps_off);
- }
- }
- old_led_state = led_state;
- return false;
-}
-#endif
-
-#endif