summaryrefslogtreecommitdiff
path: root/users/talljoe
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2023-04-09 22:41:32 +1000
committerGitHub <noreply@github.com>2023-04-09 13:41:32 +0100
commit5d6d9594212073ca52b80a1a949510187af47b13 (patch)
tree6dec049b0a1a0f6ec4ac2869000c0c6b8ea55e78 /users/talljoe
parent441988ef3895171d640e807205e7978ff9755acd (diff)
Fix up via keymap builds. (#20383)
* Fix up via keymap builds. - Usages of old IS_PRESSED. * Fix up bad code. * Fix up bad code.
Diffstat (limited to 'users/talljoe')
-rw-r--r--users/talljoe/talljoe.c4
1 files changed, 2 insertions, 2 deletions
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