diff options
Diffstat (limited to 'quantum/keymap_unicode.c')
| -rw-r--r-- | quantum/keymap_unicode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/keymap_unicode.c b/quantum/keymap_unicode.c index a9357edec..a44965e61 100644 --- a/quantum/keymap_unicode.c +++ b/quantum/keymap_unicode.c | |||
| @@ -30,6 +30,8 @@ uint16_t hextokeycode(int hex) { | |||
| 30 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) | 30 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 31 | { | 31 | { |
| 32 | 32 | ||
| 33 | // For more info on how this works per OS, see here: https://en.wikipedia.org/wiki/Unicode_input#Hexadecimal_code_input | ||
| 34 | |||
| 33 | if (record->event.pressed) { | 35 | if (record->event.pressed) { |
| 34 | uint16_t unicode = (opt << 8) | id; | 36 | uint16_t unicode = (opt << 8) | id; |
| 35 | register_code(KC_LALT); | 37 | register_code(KC_LALT); |
