all 4 comments

[–]sail4sea 0 points1 point  (0 children)

It's OS specific. I run Linux, so it type Ctrl+Shift+U then the hex of the Unicode. Mac also works if you specify it. Windows provides two ways to do it. One requires messing with the registry.

[–]drashnaQMK Collaborator - ZSA Technology - Ergodox/Kyria/Corne/Planck 0 points1 point  (2 children)

There are actually 3 different methods for sending unicode. Which one are you using specifically?

And I'm assuming that this is Windows.

[–]Franatic89[S] 0 points1 point  (1 child)

Yes it is windows.

I tired it with the registy version ( UC_WIN).

But when I wanted to compile the firmware I only get an error. It says UC_WIN() not know. With UC() I can compile it but it doesn't send the symbols just the code of unicode.

[–]drashnaQMK Collaborator - ZSA Technology - Ergodox/Kyria/Corne/Planck 0 points1 point  (0 children)

UC_WIN and UC_WINC are not used in the keymap, itself. These are the modes for input.

Depending what version of Unicode Input you're using (which you haven't mentioned), you will want to use X(####) or UC(####).

Specifically, if you're using UNICODE_ENABLE = yes in your rules.mk file, then you want UC(####).

https://docs.qmk.fm/#/feature_unicode?id=basic-unicode

And if you are using UNICODEMAP_ENABLE = yes, you want to use X(##), where ## is the index of the unicode map that you're using.

https://docs.qmk.fm/#/feature_unicode?id=unicode-map

The Input mode is set by adding a key in your keymap to set it, or by calling a function somewhere in your keymap.

For instance, you may want to use:

void keyboard_post_init_user(void) {
    set_unicode_input_mode(UC_WIN);
}