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/keymap_common.c | |
parent | 6bb479ea45183cd2d9966ef660f8126cbfd3d849 (diff) | |
parent | b92515f139a80763b9b0b77ed4440cd9635fafac (diff) | |
download | firmware-3f0b491fc01ffae58263cd9f4e123f0df14b7006.tar.gz firmware-3f0b491fc01ffae58263cd9f4e123f0df14b7006.tar.bz2 firmware-3f0b491fc01ffae58263cd9f4e123f0df14b7006.zip |
Merge pull request #1082 from priyadi/right-side-dual-function
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: |