From c09fcd9e6744fc3f645f8026267b784640cb8b25 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 24 Jul 2017 14:14:20 -0700 Subject: [PATCH] CamelCase of KeyIsPressed and KeyWasPressed --- src/Kaleidoscope/OneShot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Kaleidoscope/OneShot.cpp b/src/Kaleidoscope/OneShot.cpp index ca85da58..b677d739 100644 --- a/src/Kaleidoscope/OneShot.cpp +++ b/src/Kaleidoscope/OneShot.cpp @@ -149,7 +149,7 @@ Key OneShot::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_st return Key_NoKey; } - if (!key_is_pressed(key_state) && !key_was_pressed(key_state)) + if (!keyIsPressed(key_state) && !keyWasPressed(key_state)) return mapped_key; if (isOS(mapped_key)) { @@ -191,7 +191,7 @@ Key OneShot::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_st // ordinary key here, with some event - if (key_is_pressed(key_state)) { + if (keyIsPressed(key_state)) { mask(row, col); saveAsPrevious(mapped_key); should_cancel_ = true;