summaryrefslogtreecommitdiff
path: root/keyboards/wilba_tech/wt60_xt
diff options
context:
space:
mode:
authorWilba <wilba@wilba.tech>2022-11-10 07:46:44 +1100
committerGitHub <noreply@github.com>2022-11-10 07:46:44 +1100
commitbc6f8dc8b0822e5e03893eacffa42a7badb4c2fa (patch)
treeb1e8a219803f30b7347e479734a5c6e7352a5f30 /keyboards/wilba_tech/wt60_xt
parent575b0e33fa47034f5cfaf6f7cd98570268efa0a2 (diff)
VIA V3 - The Custom UI Update (#18222)
Diffstat (limited to 'keyboards/wilba_tech/wt60_xt')
-rw-r--r--keyboards/wilba_tech/wt60_xt/wt60_xt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/wilba_tech/wt60_xt/wt60_xt.c b/keyboards/wilba_tech/wt60_xt/wt60_xt.c
index f575b032df..4413140513 100644
--- a/keyboards/wilba_tech/wt60_xt/wt60_xt.c
+++ b/keyboards/wilba_tech/wt60_xt/wt60_xt.c
@@ -26,6 +26,7 @@ float tone_numlk_on[][2] = SONG(NUM_LOCK_ON_SOUND);
float tone_numlk_off[][2] = SONG(NUM_LOCK_OFF_SOUND);
float tone_scroll_on[][2] = SONG(SCROLL_LOCK_ON_SOUND);
float tone_scroll_off[][2] = SONG(SCROLL_LOCK_OFF_SOUND);
+float tone_device_indication[][2] = SONG(FANTASIE_IMPROMPTU);
#endif
@@ -95,3 +96,9 @@ bool led_update_kb(led_t led_state) {
return true;
}
+
+void via_set_device_indication(uint8_t value) {
+ if ( value == 0 ) {
+ PLAY_SONG(tone_device_indication);
+ }
+} \ No newline at end of file