You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
756 B

  1. #if AUDIO_ENABLE
  2. # if __has_include("copyright.h")
  3. # include "copyright.h"
  4. # endif
  5. # define LOWER_SOUND S__NOTE(_EF5), W__NOTE(_REST), Q__NOTE(_E4)
  6. # define NUMPAD_SOUND S__NOTE(_DF5), S__NOTE(_REST), S__NOTE(_C6)
  7. # define RAISE_SOUND S__NOTE(_E4), W__NOTE(_REST), Q__NOTE(_EF5)
  8. # define AUDIO_ON_SONG SONG(ZELDA_PUZZLE)
  9. # define LAYER_FUNCROW_ON_SONG SONG(COLEMAK_SOUND)
  10. # define LAYER_FUNCROW_OFF_SONG SONG(QWERTY_SOUND)
  11. # define LAYER_NMPAD_SONG SONG(NUMPAD_SOUND)
  12. # define LAYER_LOWER_SONG SONG(LOWER_SOUND)
  13. # define LAYER_RAISE_SONG SONG(RAISE_SOUND)
  14. #else
  15. // No-op version of PLAY_SONG instead of many checks for AUDIO_ENABLED
  16. # ifndef PLAY_SONG
  17. # define PLAY_SONG(ARG) // ARG
  18. # endif
  19. #endif