From 39dc5fe3497211d12767b95233404d5e305e7927 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 24 Jul 2017 14:14:32 -0700 Subject: [PATCH] CamelCase of KeyIsPressed and KeyWasPressed --- src/Kaleidoscope/Leader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Kaleidoscope/Leader.cpp b/src/Kaleidoscope/Leader.cpp index 7b7d271a..e2ff1457 100644 --- a/src/Kaleidoscope/Leader.cpp +++ b/src/Kaleidoscope/Leader.cpp @@ -93,7 +93,7 @@ Key Leader::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_sta if (key_state & INJECTED) return mapped_key; - if (!key_is_pressed(key_state) && !key_was_pressed(key_state)) { + if (!keyIsPressed(key_state) && !keyWasPressed(key_state)) { if (isLeader(mapped_key)) return Key_NoKey; return mapped_key; @@ -132,7 +132,7 @@ Key Leader::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_sta if (action_index >= 0) return Key_NoKey; - } else if (key_is_pressed(key_state)) { + } else if (keyIsPressed(key_state)) { // held, no need for anything here. return Key_NoKey; }