GTK+: matches only compared joystick bindings.

This commit is contained in:
Brandon Wright 2019-01-30 17:55:22 -06:00
parent c74b643554
commit c9f66cf910
1 changed files with 1 additions and 2 deletions

View File

@ -79,8 +79,7 @@ bool
Binding::matches (Binding &binding) Binding::matches (Binding &binding)
{ {
if ((value & ~BINDING_THRESHOLD_MASK) == if ((value & ~BINDING_THRESHOLD_MASK) ==
(binding.value & ~BINDING_THRESHOLD_MASK) && (binding.value & ~BINDING_THRESHOLD_MASK))
is_joy ())
return true; return true;
return false; return false;