include mouse buttons in block hotkey check

This commit is contained in:
David Walters 2017-11-26 13:23:39 +00:00
parent 9682e2777b
commit 59812e9509

View File

@ -381,6 +381,7 @@ static const void *hid_data = NULL;
#define check_input_driver_block_hotkey(normal_bind, autoconf_bind) \ #define check_input_driver_block_hotkey(normal_bind, autoconf_bind) \
( \ ( \
(((normal_bind)->key != RETROK_UNKNOWN) \ (((normal_bind)->key != RETROK_UNKNOWN) \
|| ((normal_bind)->mbutton != NO_BTN) \
|| ((normal_bind)->joykey != NO_BTN) \ || ((normal_bind)->joykey != NO_BTN) \
|| ((normal_bind)->joyaxis != AXIS_NONE) \ || ((normal_bind)->joyaxis != AXIS_NONE) \
|| ((autoconf_bind)->key != RETROK_UNKNOWN ) \ || ((autoconf_bind)->key != RETROK_UNKNOWN ) \