mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
clang
This commit is contained in:
parent
94c6a9fad9
commit
9d6dd79486
@ -308,14 +308,13 @@ public:
|
|||||||
bool operator<(const BindingConnection& other) const {
|
bool operator<(const BindingConnection& other) const {
|
||||||
// a button is a higher priority than an axis, as buttons can influence axes
|
// a button is a higher priority than an axis, as buttons can influence axes
|
||||||
// (e.g. joystick_halfmode)
|
// (e.g. joystick_halfmode)
|
||||||
if( output->isButton() && other.output->isAxis()) {
|
if (output->isButton() && other.output->isAxis()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (binding < other.binding) {
|
if (binding < other.binding) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user