You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/feature_unicode.md
+11
Original file line number
Diff line number
Diff line change
@@ -206,6 +206,17 @@ The functions for starting and finishing Unicode input on your platform can be o
206
206
207
207
You can find the default implementations of these functions in [`process_unicode_common.c`](https://github.com/qmk/qmk_firmware/blob/master/quantum/process_keycode/process_unicode_common.c).
208
208
209
+
### Input Mode Callbacks
210
+
211
+
There are callbacks functions available that are called whenever the unicode input mode changes. The new input mode is passed to the function.
| `unicode_input_mode_set_kb(uint8_t input_mode)` | Callback for unicode input mode set, for keyboard. |
216
+
| `unicode_input_mode_set_user(uint8_t input_mode)` | Callback for unicode input mode set, for users. |
217
+
218
+
This feature can be used, for instance, to implement LED indicators for the current unicode input mode.
219
+
209
220
### Input Key Configuration
210
221
211
222
You can customize the keys used to trigger Unicode input for macOS, Linux and WinCompose by adding corresponding defines to your `config.h`. The default values match the platforms' default settings, so you shouldn't need to change this unless Unicode input isn't working, or you want to use a different key (e.g. in order to free up left or right Alt).
0 commit comments