From c33d54e09dabf09434255b76ed500fff98694add Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sat, 21 May 2022 14:44:00 +0200 Subject: [PATCH] Add WINC unicode compatibility mode with shortcuts --- config.h | 2 +- keymap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index 32925bb..4e11fa6 100644 --- a/config.h +++ b/config.h @@ -56,4 +56,4 @@ along with this program. If not, see . #define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c" #define UNICODE_KEY_LNX LCTL(LSFT(KC_U)) -#define UNICODE_SELECTED_MODES UC_LNX +#define UNICODE_SELECTED_MODES UC_LNX, UC_WINC diff --git a/keymap.c b/keymap.c index ca1c73a..ccc93d4 100644 --- a/keymap.c +++ b/keymap.c @@ -85,7 +85,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| - KC_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, + KC_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, UC_RMOD, UC_MOD, //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------| KC_LGUI, _______, KC_SPC, KC_ENT, _______, KC_RALT //`--------------------------' `--------------------------'