summaryrefslogtreecommitdiff
path: root/quantum/process_keycode
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-01-22 14:34:15 +1100
committerGitHub <noreply@github.com>2022-01-22 03:34:15 +0000
commitb45a037c7edcd9c1cfadceb69ed51e7d42aa58c1 (patch)
tree7a7b03c394c5d28a9ae7765254e5bcf86e02217f /quantum/process_keycode
parentc7f477bc59e4124a791f0be195aaad9f21def161 (diff)
Rename some Quantum keycodes (#15968)
* Rename some Quantum keycodes * Tweak EEPROM clear and debug keycode short aliases
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r--quantum/process_keycode/process_grave_esc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_grave_esc.c b/quantum/process_keycode/process_grave_esc.c
index 41c50f5cb8..ddf027391d 100644
--- a/quantum/process_keycode/process_grave_esc.c
+++ b/quantum/process_keycode/process_grave_esc.c
@@ -15,13 +15,13 @@
*/
#include "process_grave_esc.h"
-/* true if the last press of GRAVE_ESC was shifted (i.e. GUI or SHIFT were pressed), false otherwise.
+/* true if the last press of QK_GRAVE_ESCAPE was shifted (i.e. GUI or SHIFT were pressed), false otherwise.
* Used to ensure that the correct keycode is released if the key is released.
*/
static bool grave_esc_was_shifted = false;
bool process_grave_esc(uint16_t keycode, keyrecord_t *record) {
- if (keycode == GRAVE_ESC) {
+ if (keycode == QK_GRAVE_ESCAPE) {
const uint8_t mods = get_mods();
uint8_t shifted = mods & MOD_MASK_SG;