diff options
author | Priyadi Iman Nurcahyo <priyadi@priyadi.net> | 2017-02-10 06:06:59 +0700 |
---|---|---|
committer | Priyadi Iman Nurcahyo <priyadi@priyadi.net> | 2017-02-10 06:06:59 +0700 |
commit | 97816df7e7aa8710c8a0837b2abe008e0c765f2a (patch) | |
tree | f88ee582281953ce87cfe5a69ca8b8e4c98e90c2 /quantum/keymap_common.c | |
parent | 0a9fda968da521e373564895d6ea6774cd1480d9 (diff) | |
download | qmk_firmware-97816df7e7aa8710c8a0837b2abe008e0c765f2a.tar.gz |
Implement tap mod dual role for right side mods.
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r-- | quantum/keymap_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c index 5190f24e8..54b872d49 100644 --- a/quantum/keymap_common.c +++ b/quantum/keymap_common.c @@ -120,7 +120,7 @@ action_t action_for_key(uint8_t layer, keypos_t key) action.code = ACTION_MODS_ONESHOT(mod); break; case QK_MOD_TAP ... QK_MOD_TAP_MAX: - action.code = ACTION_MODS_TAP_KEY((keycode >> 0x8) & 0xF, keycode & 0xFF); + action.code = ACTION_MODS_TAP_KEY((keycode >> 0x8) & 0x1F, keycode & 0xFF); break; #ifdef BACKLIGHT_ENABLE case BL_0 ... BL_15: |