mirror of https://github.com/PCSX2/pcsx2.git
Less bind pressure for XInput too.
This commit is contained in:
parent
dafec4642c
commit
e86e472d4f
|
@ -419,8 +419,8 @@ Device *InputDeviceManager::GetActiveDevice(InitInfo *info, unsigned int *uid, i
|
|||
if (((devices[i]->virtualControls[j].uid>>16) & 0xFF) == RELAXIS) {
|
||||
diff = diff/4+1;
|
||||
}
|
||||
// Less pressure needed to bind DS3 buttons.
|
||||
if (devices[i]->api == DS3 && (((devices[i]->virtualControls[j].uid>>16) & 0xFF) & BUTTON)) {
|
||||
// Less pressure needed to bind DS3/SCP buttons.
|
||||
if ((devices[i]->api == DS3 || devices[i]->api == XINPUT) && (((devices[i]->virtualControls[j].uid>>16) & 0xFF) & BUTTON)) {
|
||||
diff *= 4;
|
||||
}
|
||||
if (diff > bestDiff) {
|
||||
|
|
Loading…
Reference in New Issue