diff --git a/src/key_events.cpp b/src/key_events.cpp index 31c76221..a89333cd 100644 --- a/src/key_events.cpp +++ b/src/key_events.cpp @@ -33,14 +33,14 @@ static bool handleKeyswitchEventDefault(Key mappedKey, byte row, byte col, uint8 if (mappedKey.flags & SYNTHETIC) { handleSyntheticKeyswitchEvent(mappedKey, keyState); } else if (keyIsPressed(keyState)) { - press_key(mappedKey); + pressKey(mappedKey); } else if (keyToggledOff(keyState) && (keyState & INJECTED)) { releaseKey(mappedKey); } return true; } -void press_key(Key mappedKey) { +void pressKey(Key mappedKey) { if (mappedKey.flags & SHIFT_HELD) { Keyboard.press(Key_LeftShift.keyCode); } diff --git a/src/key_events.h b/src/key_events.h index 87fd48e1..96929f81 100644 --- a/src/key_events.h +++ b/src/key_events.h @@ -44,5 +44,5 @@ extern const Key keymaps[][ROWS][COLS]; void handleKeyswitchEvent(Key mappedKey, byte row, byte col, uint8_t keyState); // Internal use -void press_key(Key mappedKey); +void pressKey(Key mappedKey); void releaseKey(Key mappedKey);