Fix multi-codepoint emoji.
This commit is contained in:
parent
e69aef23c7
commit
ff54896635
10
keymap.c
10
keymap.c
|
@ -408,13 +408,19 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
return false;
|
return false;
|
||||||
case AB_RADI:
|
case AB_RADI:
|
||||||
layer_off(_LAYER_QWERTY);
|
layer_off(_LAYER_QWERTY);
|
||||||
if (record->event.pressed) SEND_STRING(SS_TAP(X_F14)"u2622"SS_TAP(X_ENT));
|
if (record->event.pressed) {
|
||||||
|
SEND_STRING(SS_TAP(X_F14)"u2622"SS_TAP(X_ENT));
|
||||||
|
SEND_STRING(SS_TAP(X_F14)"ufe0f"SS_TAP(X_ENT));
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
case AB_PURP:
|
case AB_PURP:
|
||||||
if (record->event.pressed) SEND_STRING(SS_TAP(X_F14)"u1f49c"SS_TAP(X_ENT));
|
if (record->event.pressed) SEND_STRING(SS_TAP(X_F14)"u1f49c"SS_TAP(X_ENT));
|
||||||
return false;
|
return false;
|
||||||
case AB_RED:
|
case AB_RED:
|
||||||
if (record->event.pressed) SEND_STRING(SS_TAP(X_F14)"u2764"SS_TAP(X_ENT));
|
if (record->event.pressed) {
|
||||||
|
SEND_STRING(SS_TAP(X_F14)"u2764"SS_TAP(X_ENT));
|
||||||
|
SEND_STRING(SS_TAP(X_F14)"ufe0f"SS_TAP(X_ENT));
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
case AB_YELL:
|
case AB_YELL:
|
||||||
if (record->event.pressed) SEND_STRING(SS_TAP(X_F14)"u1f49b"SS_TAP(X_ENT));
|
if (record->event.pressed) SEND_STRING(SS_TAP(X_F14)"u1f49b"SS_TAP(X_ENT));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user