keyToggledO* camelcasing

pull/389/head
Jesse Vincent 7 years ago
parent 53435e0556
commit 100c6f16fc
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -32,7 +32,7 @@ void EscapeOneShot::begin(void) {
Key EscapeOneShot::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_state) { Key EscapeOneShot::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_state) {
if (mapped_key.raw != Key_Escape.raw || if (mapped_key.raw != Key_Escape.raw ||
(key_state & INJECTED) || (key_state & INJECTED) ||
!key_toggled_on(key_state)) !keyToggledOn(key_state))
return mapped_key; return mapped_key;
if (!::OneShot.isActive()) if (!::OneShot.isActive())

Loading…
Cancel
Save