diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-02-11 11:50:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-11 11:50:32 -0500 |
commit | 3f0b491fc01ffae58263cd9f4e123f0df14b7006 (patch) | |
tree | 64c271706540a25edb48e724ca2cdb1780053f16 /quantum/process_keycode | |
parent | 6bb479ea45183cd2d9966ef660f8126cbfd3d849 (diff) | |
parent | b92515f139a80763b9b0b77ed4440cd9635fafac (diff) |
Merge pull request #1082 from priyadi/right-side-dual-function
Implement tap mod dual role for right side mods.
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r-- | quantum/process_keycode/process_unicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_unicode.c b/quantum/process_keycode/process_unicode.c index 9995ba9bde..9d01a592d2 100644 --- a/quantum/process_keycode/process_unicode.c +++ b/quantum/process_keycode/process_unicode.c @@ -139,7 +139,7 @@ void unicode_map_input_error() {} bool process_unicode_map(uint16_t keycode, keyrecord_t *record) { if ((keycode & QK_UNICODE_MAP) == QK_UNICODE_MAP && record->event.pressed) { const uint32_t* map = unicode_map; - uint16_t index = keycode & 0x7FF; + uint16_t index = keycode - QK_UNICODE_MAP; uint32_t code = pgm_read_dword_far(&map[index]); if (code > 0xFFFF && code <= 0x10ffff && input_mode == UC_OSX) { // Convert to UTF-16 surrogate pair |