Skip to content

Commit

Permalink
Re-Add ZSA custom chimes (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored Aug 19, 2024
1 parent 04b25c5 commit e9fa160
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
1 change: 1 addition & 0 deletions keyboards/zsa/moonlander/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
#define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_VCC
#define IS31FL3731_I2C_TIMEOUT 5

#define MUSIC_MAP

Expand Down
26 changes: 26 additions & 0 deletions keyboards/zsa/moonlander/post_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* Copyright 2023 ZSA Technology Labs, Inc <@zsa>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once

#ifdef AUDIO_ENABLE
# ifndef STARTUP_SONG
# define STARTUP_SONG SONG(E__NOTE(_DS5), E__NOTE(_D5), E__NOTE(_AS4), Q__NOTE(_F5))
# endif

# ifndef GOODBYE_SONG
# define GOODBYE_SONG SONG(E__NOTE(_D5), E__NOTE(_F5), E__NOTE(_C5), Q__NOTE(_AS4))
# endif
#endif
26 changes: 26 additions & 0 deletions keyboards/zsa/planck_ez/post_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* Copyright 2023 ZSA Technology Labs, Inc <@zsa>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once

#ifdef AUDIO_ENABLE
# ifndef STARTUP_SONG
# define STARTUP_SONG SONG(E__NOTE(_DS5), E__NOTE(_D5), E__NOTE(_AS4), Q__NOTE(_F5))
# endif

# ifndef GOODBYE_SONG
# define GOODBYE_SONG SONG(E__NOTE(_D5), E__NOTE(_F5), E__NOTE(_C5), Q__NOTE(_AS4))
# endif
#endif

0 comments on commit e9fa160

Please sign in to comment.