Skip to content

Commit

Permalink
add audio enable condition to all muse includes
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed Jun 17, 2023
1 parent 24c742a commit 9779e90
Show file tree
Hide file tree
Showing 161 changed files with 482 additions and 161 deletions.
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/abishalom/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif


enum planck_layers {
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/abishalom/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
5 changes: 3 additions & 2 deletions keyboards/planck/keymaps/adamtabrams/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"

#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

enum planck_layers {
_QWERTY,
Expand Down
5 changes: 4 additions & 1 deletion keyboards/planck/keymaps/adamtabrams/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
SRC += muse.c
LTO_ENABLE = yes

MOUSEKEY_ENABLE = yes
Expand All @@ -11,3 +10,7 @@ COMMAND_ENABLE = no
AUDIO_ENABLE = no
ENCODER_ENABLE = no
DIP_SWITCH_ENABLE = no

ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/antosha417/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
AUDIO_ENABLE = yes
COMBO_ENABLE = yes

4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/ariccb/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif
#include "features/select_word.h"
#include "features/caps_word.h"

Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/atreus/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Default layer
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/atreus/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/bghull/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
AUTO_SHIFT_ENABLE = yes
MOUSEKEY_ENABLE = yes
AUDIO_ENABLE = no
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/buhearns/keymap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

extern keymap_config_t keymap_config;

Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/charlesrocket/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
# Set any rules.mk overrides for your specific keymap here.
# See rules at https://docs.qmk.fm/#/config_options?id=the-rulesmk-file
LTO_ENABLE = yes
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/copface/keymap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

// Custom Keycode Definitions
#define LOWER MO(_LOWER)
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/copface/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif

BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/dear_vehicle_owner/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif


enum planck_layers {
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/dear_vehicle_owner/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
DEBOUNCE_TYPE = sym_eager_pk
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/deft/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/dsanchezseco/keymap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

#define LOWER MO(_LOWER)
#define RAISE MO(_RAISE)
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/dvz/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif
#include "keymap_german.h"

enum combos {
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/dvz/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif

COMBO_ENABLE = yes
#VIA_ENABLE = yes
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/eosti/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

enum planck_layers {
_QWERTY,
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/eosti/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/eshesh2/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif


enum planck_layers {
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/eshesh2/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
ENCODER_ENABLE = yes
EXTRAKEY_ENABLE = yes
MOUSEKEY_ENABLE = yes
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/fabian/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

extern keymap_config_t keymap_config;

Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/fabian/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/foreveranapple/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif


enum planck_layers {
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/foreveranapple/rules.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
AUDIO_ENABLED = yes
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/gitdrik/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
/* Modified from planck default to Finnish SFS 5966 by gitdrik, 2020-2023. */

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

enum planck_layers {
_BASE,
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/gitdrik/rules.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
MOUSEKEY_ENABLE = yes
AUDIO_ENABLE = yes
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/grant24/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif


enum planck_layers {
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/grant24/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/hvp/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/
#include "hvp.c"
#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

enum planck_layers {
_QWERTY,
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/hvp/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif

RGBLIGHT_ENABLE = no
TAP_DANCE_ENABLE = yes
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/inkwell/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif


enum planck_layers {
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/inkwell/rules.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
ENCODER_ENABLE = yes
EXTRAKEY_ENABLE = yes
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/jasperla/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

extern keymap_config_t keymap_config;

Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/jasperla/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/jdelkins/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
LEADER_ENABLE = yes
TAP_DANCE_ENABLE = yes
AUTO_SHIFT_ENABLE = yes
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/jetpacktuxedo/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

extern keymap_config_t keymap_config;

Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/jetpacktuxedo/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/jimmysjolund/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif


enum planck_layers {
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/jimmysjolund/rules.mk
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/jweickm/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

enum planck_layers {
_HRWIDECOLEMAK,
Expand Down
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/jweickm/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ CONSOLE_ENABLE = no # Console for debug
LEADER_ENABLE = yes
TAP_DANCE_ENABLE = yes # enable tap dance functionality

SRC += muse.c
ifeq ($(strip $(AUDIO_ENABLE)), yes)
SRC += muse.c
endif
4 changes: 3 additions & 1 deletion keyboards/planck/keymaps/kifinnsson/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

#include QMK_KEYBOARD_H
#include "muse.h"
#ifdef AUDIO_ENABLE
# include "muse.h"
#endif

bool is_lgui_active = false;
uint16_t lgui_timer = 0;
Expand Down
Loading

0 comments on commit 9779e90

Please sign in to comment.