Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Symbolic Unicode Input System #635
The purpose of this feature is to allow the person in front of the keyboard to enter Unicode symbols by name. Once the keymap is modified to call
The feature is disabled by default, and should not increase the firmware size if left disabled. If enabled, it also enables unicode input.
So, to give a minimal example, here is how to use this feature:
const qk_ucis_symbol_t ucis_symbol_table = UCIS_TABLE ( UCIS_SYM("poop", 0x1f4a9), UCIS_SYM("rofl", 0x1f923), UCIS_SYM("kiss", 0x1f619), UCIS_SYM("snowman", 0x2603), UCIS_SYM("coffee", 0x2615), UCIS_SYM("heart", 0x2764) );
Recompile the firmware, and press your trigger combo, and type
I have only tested this on Linux, it may or may not work elsewhere. Replaying keycodes is not the best implementation, as it can only replay the 8bit keycodes. This was easy to implement, but its not a 100% accurate playback. In most cases, that should not be a problem, I believe.
I've been using this for the past 3 days, and the latest variant for a couple of hours, and so far I did not manage to break it yet. At least not in ways I wasn't expecting.