diff options
author | Cole Markham <github@themarkhams.us> | 2018-04-18 23:57:24 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-04-19 00:57:24 -0400 |
commit | b4bdebab9a48546160465d64000724a07617054e (patch) | |
tree | 418021491d61b5c6039383d7bcdcd7d449d4dbe7 /keyboards/meira/keymaps/default/keymap.c | |
parent | 3d3c093173f6e9a838671bd7484b3a11dc564c1a (diff) | |
download | firmware-b4bdebab9a48546160465d64000724a07617054e.tar.gz firmware-b4bdebab9a48546160465d64000724a07617054e.tar.bz2 firmware-b4bdebab9a48546160465d64000724a07617054e.zip |
Meira updates for bluetooth and audio (#2731)
* Add audio output
* Update Miera to fix bluetooth issues, bootloader definition.
* Added keymap with audio example
* Cleanup Meira audio code
Diffstat (limited to 'keyboards/meira/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/meira/keymaps/default/keymap.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/meira/keymaps/default/keymap.c b/keyboards/meira/keymaps/default/keymap.c index dd55859a5..4bbd014cb 100644 --- a/keyboards/meira/keymaps/default/keymap.c +++ b/keyboards/meira/keymaps/default/keymap.c @@ -37,6 +37,17 @@ enum custom_keycodes { ADJUST, }; +#ifdef AUDIO_ENABLE + +float tone_my_startup[][2] = SONG(ODE_TO_JOY); +float tone_my_goodbye[][2] = SONG(ROCK_A_BYE_BABY); + +float tone_qwerty[][2] = SONG(QWERTY_SOUND); +float tone_dvorak[][2] = SONG(DVORAK_SOUND); +float tone_colemak[][2] = SONG(COLEMAK_SOUND); + +#endif /* AUDIO_ENABLE */ + // define variables for reactive RGB bool TOG_STATUS = false; int RGB_current_mode; |