diff options
Diffstat (limited to 'keyboards/crkbd/keymaps/mcrown')
-rw-r--r-- | keyboards/crkbd/keymaps/mcrown/mcrown.h | 4 | ||||
-rw-r--r-- | keyboards/crkbd/keymaps/mcrown/oled.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/crkbd/keymaps/mcrown/mcrown.h b/keyboards/crkbd/keymaps/mcrown/mcrown.h index c3ed36eece..22a58dd0ea 100644 --- a/keyboards/crkbd/keymaps/mcrown/mcrown.h +++ b/keyboards/crkbd/keymaps/mcrown/mcrown.h @@ -27,8 +27,8 @@ #define KC_LOWER LOWER #define KC_RAISE RAISE #define KC_CTLTB CTL_T(KC_TAB) -#define KC_GUIEI GUI_T(KC_LANG2) -#define KC_ALTKN ALT_T(KC_LANG1) +#define KC_GUIEI GUI_T(KC_LNG2) +#define KC_ALTKN ALT_T(KC_LNG1) #define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__) diff --git a/keyboards/crkbd/keymaps/mcrown/oled.c b/keyboards/crkbd/keymaps/mcrown/oled.c index 9623b921a7..f88fc0c8d8 100644 --- a/keyboards/crkbd/keymaps/mcrown/oled.c +++ b/keyboards/crkbd/keymaps/mcrown/oled.c @@ -94,7 +94,7 @@ inline static char get_ascii(int16_t keycode){ ascii_idx=code_to_ascii[(uint8_t)keycode]; }else if(keycode<KC_KP_ENTER){ ascii_idx=code_to_ascii[SPECIAL_KEYS_SHIFT(keycode)]; - }else if(KC_LANG1==keycode){ + }else if(KC_LNG1==keycode){ ascii_idx=code_to_ascii[ALT_CODE]; }else if( QK_LSFT==(QK_LSFT&keycode) ){ ascii_idx=code_to_ascii[RM_LSFT(keycode)]; |