summaryrefslogtreecommitdiff
path: root/adb_usb/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'adb_usb/config.h')
-rw-r--r--adb_usb/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/adb_usb/config.h b/adb_usb/config.h
index 27f31ca9e9..6431ede4cf 100644
--- a/adb_usb/config.h
+++ b/adb_usb/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_LCTRL | BIT_LALT | BIT_LGUI) || \
- keyboard_report->mods == (BIT_LSHIFT | 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)) \
)