CamelCase of KeyIsPressed and KeyWasPressed

pull/389/head
Jesse Vincent 8 years ago
parent b244cec410
commit c09fcd9e67
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -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;

Loading…
Cancel
Save