diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2016-01-15 23:10:30 -0500 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2016-01-15 23:10:30 -0500 |
| commit | 6e3c36360ed291b9ca2bd014571236308a933d0c (patch) | |
| tree | 56aac412390dcb72fc1424f0bc7528198d103a76 /quantum/keymap_unicode.c | |
| parent | 4c100dbbef5b97290cbe6d4846575a940649c958 (diff) | |
| download | qmk_firmware-6e3c36360ed291b9ca2bd014571236308a933d0c.tar.gz qmk_firmware-6e3c36360ed291b9ca2bd014571236308a933d0c.zip | |
sounds
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); |
