aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/keymap_common.c
diff options
context:
space:
mode:
authorGravatar Priyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-12 00:09:25 +0700
committerGravatar Priyadi Iman Nurcahyo <priyadi@priyadi.net>2017-02-12 00:09:25 +0700
commite52d793c79e71f4ff01791b63d5630ed9287b961 (patch)
tree3977699a1a74c9b0e0502e8c0d2546e0309fbda3 /quantum/keymap_common.c
parentce6b68f85b1e09a3912fb395ed4d6b35bb0f065d (diff)
parent6d6b3ee9fb03215d14a4ea0f9a354af1eb0b8575 (diff)
downloadqmk_firmware-e52d793c79e71f4ff01791b63d5630ed9287b961.tar.gz
Merge branch 'master' into promethium
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r--quantum/keymap_common.c2
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: