From 0235d41ae046bcb4c08721f41cdf19cce91cf72e Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 24 Jul 2017 14:41:47 -0700 Subject: [PATCH] CamelCase of handle_*_key* --- README.md | 4 ++-- examples/Syster/Syster.ino | 4 ++-- src/Kaleidoscope/Syster.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 49e51c89..8c90e1df 100644 --- a/README.md +++ b/README.md @@ -34,9 +34,9 @@ void systerAction(kaleidoscope::Syster::action_t action, const char *symbol) { Unicode.type (0x2328); break; case kaleidoscope::Syster::EndAction: - handle_keyswitch_event (Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, IS_PRESSED | INJECTED); + handleKeyswitchEvent (Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, IS_PRESSED | INJECTED); Keyboard.sendReport (); - handle_keyswitch_event (Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, WAS_PRESSED | INJECTED); + handleKeyswitchEvent (Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, WAS_PRESSED | INJECTED); Keyboard.sendReport (); break; case kaleidoscope::Syster::SymbolAction: diff --git a/examples/Syster/Syster.ino b/examples/Syster/Syster.ino index 8c6fc011..abdc87e3 100644 --- a/examples/Syster/Syster.ino +++ b/examples/Syster/Syster.ino @@ -48,9 +48,9 @@ void systerAction(kaleidoscope::Syster::action_t action, const char *symbol) { Unicode.type(0x2328); break; case kaleidoscope::Syster::EndAction: - handle_keyswitch_event(Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, IS_PRESSED | INJECTED); + handleKeyswitchEvent(Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, IS_PRESSED | INJECTED); Keyboard.sendReport(); - handle_keyswitch_event(Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, WAS_PRESSED | INJECTED); + handleKeyswitchEvent(Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, WAS_PRESSED | INJECTED); Keyboard.sendReport(); break; case kaleidoscope::Syster::SymbolAction: diff --git a/src/Kaleidoscope/Syster.cpp b/src/Kaleidoscope/Syster.cpp index cbfa2c06..57c1e102 100644 --- a/src/Kaleidoscope/Syster.cpp +++ b/src/Kaleidoscope/Syster.cpp @@ -70,9 +70,9 @@ Key Syster::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_sta if (keyToggledOff(key_state)) { if (mapped_key == Key_Spacebar) { for (uint8_t i = 0; i <= symbol_pos_; i++) { - handle_keyswitch_event(Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, IS_PRESSED | INJECTED); + handleKeyswitchEvent(Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, IS_PRESSED | INJECTED); Keyboard.sendReport(); - handle_keyswitch_event(Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, WAS_PRESSED | INJECTED); + handleKeyswitchEvent(Key_Backspace, UNKNOWN_KEYSWITCH_LOCATION, WAS_PRESSED | INJECTED); Keyboard.sendReport(); }