This commit is contained in:
kalaposfos13 2024-11-15 09:45:32 +01:00
parent 94c6a9fad9
commit 9d6dd79486

View File

@ -308,14 +308,13 @@ public:
bool operator<(const BindingConnection& other) const {
// a button is a higher priority than an axis, as buttons can influence axes
// (e.g. joystick_halfmode)
if( output->isButton() && other.output->isAxis()) {
if (output->isButton() && other.output->isAxis()) {
return true;
}
if (binding < other.binding) {
return true;
}
return false;
}
};