summaryrefslogtreecommitdiff
path: root/users/talljoe
diff options
context:
space:
mode:
Diffstat (limited to 'users/talljoe')
-rw-r--r--users/talljoe/rules.mk4
-rw-r--r--users/talljoe/talljoe.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/users/talljoe/rules.mk b/users/talljoe/rules.mk
index 9338568b97..957ce2a71a 100644
--- a/users/talljoe/rules.mk
+++ b/users/talljoe/rules.mk
@@ -1,4 +1,6 @@
-SRC += talljoe.c macros.c $(wildcard users/talljoe/tapdance/*.c)
+INTROSPECTION_KEYMAP_C = talljoe.c
+
+SRC += macros.c $(wildcard users/talljoe/tapdance/*.c)
ifeq ($(strip $(VISUALIZER_ENABLE)), yes)
SRC += visualizer.c
endif
diff --git a/users/talljoe/talljoe.c b/users/talljoe/talljoe.c
index 5e58bc9e3f..61158be760 100644
--- a/users/talljoe/talljoe.c
+++ b/users/talljoe/talljoe.c
@@ -205,7 +205,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
break;
#ifdef ZEAL_RGB
case BL_TOGG:
- if (IS_PRESSED(record->event)) {
+ if (record->event.pressed) {
if (g_config.effect) {
last_effect = g_config.effect;
g_config.effect = 0;
@@ -215,7 +215,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return false;
case EFFECT...EFFECT_END:
- if (IS_PRESSED(record->event)) {
+ if (record->event.pressed) {
uint8_t effect = keycode - EFFECT;
if(effect == g_config.effect)
effect = 0; // Toggle effect on second press