mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 03:59:33 +06:00
18 lines
275 B
C
18 lines
275 B
C
|
#include "csc027.h"
|
||
|
#include "custom_audio.h"
|
||
|
|
||
|
#if defined(AUDIO_ENABLE)
|
||
|
|
||
|
float tone_on[][2] = SONG(E__NOTE(_G6));
|
||
|
float tone_off[][2] = SONG(E__NOTE(_D5));
|
||
|
|
||
|
void on_usb_led_off(void) {
|
||
|
PLAY_SONG(tone_off);
|
||
|
}
|
||
|
|
||
|
void on_usb_led_on(void) {
|
||
|
PLAY_SONG(tone_on);
|
||
|
}
|
||
|
|
||
|
#endif
|