summaryrefslogtreecommitdiff
path: root/keyboards/hhkb/rn42/rn42_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hhkb/rn42/rn42_task.c')
-rw-r--r--keyboards/hhkb/rn42/rn42_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/hhkb/rn42/rn42_task.c b/keyboards/hhkb/rn42/rn42_task.c
index 26dacbd650..0e21eb9a79 100644
--- a/keyboards/hhkb/rn42/rn42_task.c
+++ b/keyboards/hhkb/rn42/rn42_task.c
@@ -406,7 +406,7 @@ bool command_console_extra(uint8_t code)
// convert keycode into ascii charactor
static uint8_t code2asc(uint8_t code)
{
- bool shifted = (get_mods() & (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT))) ? true : false;
+ bool shifted = (get_mods() & (MOD_BIT(KC_LSFT)|MOD_BIT(KC_RSFT))) ? true : false;
switch (code) {
case KC_A: return (shifted ? 'A' : 'a');
case KC_B: return (shifted ? 'B' : 'b');