mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-05 01:15:19 +00:00
9b9a0f0bcb
* Added mverteuil content - Userspace - Knops keymap - Preonic keymaps * Simplified and replaced some magic numbers * Convert tabs to spaces * Clean up LED handling, better animation, better layer init * Use get_highest_layer per @drashna suggestion * Reorder prototypes/reformat * Simplified/more expessive and fixed initial layer LED * Remove changes to git ignored files
22 lines
756 B
C
22 lines
756 B
C
#if AUDIO_ENABLE
|
|
# if __has_include("copyright.h")
|
|
# include "copyright.h"
|
|
# endif
|
|
|
|
# define LOWER_SOUND S__NOTE(_EF5), W__NOTE(_REST), Q__NOTE(_E4)
|
|
# define NUMPAD_SOUND S__NOTE(_DF5), S__NOTE(_REST), S__NOTE(_C6)
|
|
# define RAISE_SOUND S__NOTE(_E4), W__NOTE(_REST), Q__NOTE(_EF5)
|
|
|
|
# define AUDIO_ON_SONG SONG(ZELDA_PUZZLE)
|
|
# define LAYER_FUNCROW_ON_SONG SONG(COLEMAK_SOUND)
|
|
# define LAYER_FUNCROW_OFF_SONG SONG(QWERTY_SOUND)
|
|
# define LAYER_NMPAD_SONG SONG(NUMPAD_SOUND)
|
|
# define LAYER_LOWER_SONG SONG(LOWER_SOUND)
|
|
# define LAYER_RAISE_SONG SONG(RAISE_SOUND)
|
|
#else
|
|
// No-op version of PLAY_SONG instead of many checks for AUDIO_ENABLED
|
|
# ifndef PLAY_SONG
|
|
# define PLAY_SONG(ARG) // ARG
|
|
# endif
|
|
#endif
|