summaryrefslogtreecommitdiff
path: root/users/yanfali
diff options
context:
space:
mode:
authorYan-Fa Li <yanfali@gmail.com>2020-02-14 11:03:35 -0800
committerGitHub <noreply@github.com>2020-02-14 11:03:35 -0800
commiteb1f99c5f971ce939d18e236ac85edaf0de00401 (patch)
tree54a405dfd99ed9af5cdd19798d5913d12844d2a0 /users/yanfali
parent4eed0331bf0876db0d557f86c7d4ef599ff0e6c4 (diff)
[keymap] Update audio controls on community (#8163)
* Update audio controls on community * Add rules for various boards * TKL support
Diffstat (limited to 'users/yanfali')
-rw-r--r--users/yanfali/rules.mk15
1 files changed, 13 insertions, 2 deletions
diff --git a/users/yanfali/rules.mk b/users/yanfali/rules.mk
index c43f298588..a4f1092d0c 100644
--- a/users/yanfali/rules.mk
+++ b/users/yanfali/rules.mk
@@ -3,14 +3,25 @@ DYNAMIC_KEYMAP_ENABLE = no
CONSOLE_ENABLE = yes
COMMAND_ENABLE = yes
LINK_TIME_OPTIMIZATION_ENABLE = yes
+AUDIO_ENABLE = no
# only enable audio on specific boards
ifeq ($(strip $(KEYBOARD)), maartenwut/plain60)
AUDIO_ENABLE = yes
-else
- AUDIO_ENABLE = no
+endif
+
+ifeq ($(strip $(KEYBOARD)), clueboard/60)
+ AUDIO_ENABLE = yes
+endif
+
+ifeq ($(strip $(KEYBOARD)), hadron/ver3)
+ AUDIO_ENABLE = yes
endif
ifeq ($(strip $(KEYBOARD)), fruity60)
COMMAND_ENABLE = no
endif
+
+ifeq ($(strip $(KEYBOARD)), kbdfans/kbd75/rev1)
+ COMMAND_ENABLE = no
+endif