summaryrefslogtreecommitdiff
path: root/macway/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'macway/config.h')
-rw-r--r--macway/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/macway/config.h b/macway/config.h
index ff62bfdb0f..546067beb1 100644
--- a/macway/config.h
+++ b/macway/config.h
@@ -37,8 +37,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* key combination for command */
#define IS_COMMAND() ( \
- keyboard_report->mods == (BIT_LSHIFT | BIT_RSHIFT) || \
- keyboard_report->mods == (BIT_LCTRL | BIT_RSHIFT) \
+ keyboard_report->mods == (MOD_BIT(KB_LSHIFT) | MOD_BIT(KB_LCTRL) | MOD_BIT(KB_LALT) | MOD_BIT(KB_LGUI)) || \
+ keyboard_report->mods == (MOD_BIT(KB_LSHIFT) | MOD_BIT(KB_RSHIFT)) \
)