diff options
Diffstat (limited to 'ps2_usb/config_pjrc.h')
-rw-r--r-- | ps2_usb/config_pjrc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ps2_usb/config_pjrc.h b/ps2_usb/config_pjrc.h index 56917beec..883ffab27 100644 --- a/ps2_usb/config_pjrc.h +++ b/ps2_usb/config_pjrc.h @@ -35,8 +35,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_RSHIFT)) || \ + keyboard_report->mods == (MOD_BIT(KB_LCTRL) | MOD_BIT(KB_RSHIFT)) \ ) |