mirror of https://github.com/PCSX2/pcsx2.git
fix2
This commit is contained in:
parent
d1788ac1e9
commit
8db9a27970
|
@ -1230,10 +1230,10 @@ u8 CALLBACK PADpoll(u8 value)
|
||||||
|
|
||||||
if (config.padConfigs[query.port][query.slot].type == MousePad) {
|
if (config.padConfigs[query.port][query.slot].type == MousePad) {
|
||||||
u8 b1 = 0xFC;
|
u8 b1 = 0xFC;
|
||||||
if (sum->buttons[5 + 4] > 0) // Left button
|
if (sum->buttons[9] > 0) // Left button
|
||||||
b1 -= 2 << 2;
|
b1 -= 8;
|
||||||
if (sum->buttons[6 + 4] > 0) // Right button
|
if (sum->buttons[10] > 0) // Right button
|
||||||
b1 -= 2 << 1;
|
b1 -= 4;
|
||||||
|
|
||||||
query.response[3] = 0xFF;
|
query.response[3] = 0xFF;
|
||||||
query.response[4] = b1;
|
query.response[4] = b1;
|
||||||
|
|
Loading…
Reference in New Issue