From b99e2e0b60b782e759fc370c5ab31e02bffcf0fe Mon Sep 17 00:00:00 2001 From: JX <572673807@qq.com> Date: Sun, 22 Aug 2021 03:22:15 +0800 Subject: [PATCH] Update hotdox76_V2.c --- keyboards/yandrstudio/hotdox76_V2/hotdox76_V2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/keyboards/yandrstudio/hotdox76_V2/hotdox76_V2.c b/keyboards/yandrstudio/hotdox76_V2/hotdox76_V2.c index f11f26aa3bd7..3526d1fd510d 100644 --- a/keyboards/yandrstudio/hotdox76_V2/hotdox76_V2.c +++ b/keyboards/yandrstudio/hotdox76_V2/hotdox76_V2.c @@ -221,7 +221,9 @@ void get_cur_alp_hook(uint16_t keycode) { } bool process_record_kb(uint16_t keycode, keyrecord_t *record) { - get_cur_alp_hook(keycode); + if (record->event.pressed) { + get_cur_alp_hook(keycode); + } return true; }