From 75beda5d3615de0e7b20a1b13ce3e50a7f49f211 Mon Sep 17 00:00:00 2001 From: tiltowait Date: Sat, 19 Jan 2019 17:44:12 -0800 Subject: [PATCH 1/2] Add function prototypes for determining if any modifier is/was active Signed-off-by: tiltowait --- src/kaleidoscope/hid.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/kaleidoscope/hid.h b/src/kaleidoscope/hid.h index 32aed225..d4ea7a6f 100644 --- a/src/kaleidoscope/hid.h +++ b/src/kaleidoscope/hid.h @@ -36,6 +36,9 @@ extern void sendKeyboardReport(); extern boolean isModifierKeyActive(Key mappedKey); extern boolean wasModifierKeyActive(Key mappedKey); +extern boolean isAnyModifierKeyActive(Key mappedKey); +extern boolean wasAnyModifierKeyActive(Key mappedKey); + extern uint8_t getKeyboardLEDs(); extern void initializeConsumerControl(); From 0363c3cb53a1194a36ff0686e06e4ab002269b24 Mon Sep 17 00:00:00 2001 From: tiltowait Date: Sat, 19 Jan 2019 18:04:02 -0800 Subject: [PATCH 2/2] Remove unnecessary arguments Signed-off-by: tiltowait --- src/kaleidoscope/hid.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kaleidoscope/hid.h b/src/kaleidoscope/hid.h index d4ea7a6f..c2e419d9 100644 --- a/src/kaleidoscope/hid.h +++ b/src/kaleidoscope/hid.h @@ -36,8 +36,8 @@ extern void sendKeyboardReport(); extern boolean isModifierKeyActive(Key mappedKey); extern boolean wasModifierKeyActive(Key mappedKey); -extern boolean isAnyModifierKeyActive(Key mappedKey); -extern boolean wasAnyModifierKeyActive(Key mappedKey); +extern boolean isAnyModifierKeyActive(); +extern boolean wasAnyModifierKeyActive(); extern uint8_t getKeyboardLEDs();