diff options
-rw-r--r-- | quantum/keymap_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/keymap_common.h b/quantum/keymap_common.h index 2da01251d..fbb2ac8c2 100644 --- a/quantum/keymap_common.h +++ b/quantum/keymap_common.h @@ -191,6 +191,11 @@ extern const uint16_t fn_actions[]; // L-ayer, T-ap - 256 keycode max, 16 layer max #define LT(layer, kc) (kc | 0x8000 | ((layer & 0xF) << 8)) + +// For sending unicode codes. +// You may not send codes over 1FFF -- this supports most of UTF8. +// To have a key that sends out Œ, go UC(0x0152) +#define UNICODE(n) (n | 0x8000) #define UC(n) UNICODE(n) |