forked from Ports/perfect_dark
fixup: PC controls camspy instant abort
only consider first controller for camspy input
This commit is contained in:
1 parent
600dae58e2
commit
8d99ac92a0
1 file changed
+2
-2
@@ -765,8 +765,8 @@ void eyespyProcessInput(bool allowbuttons)
|
|||||||
shootpressed = c1buttons & Z_TRIG;
|
shootpressed = c1buttons & Z_TRIG;
|
||||||
#ifndef PLATFORM_N64
|
#ifndef PLATFORM_N64
|
||||||
if (controlmode == CONTROLMODE_PC) {
|
if (controlmode == CONTROLMODE_PC) {
|
||||||
exitpressed = (c1buttons | c2buttons) & (BUTTON_WPNBACK | BUTTON_RADIAL);
|
exitpressed = c1buttons & (BUTTON_WPNBACK | BUTTON_RADIAL);
|
||||||
activatepressed = (c1buttons | c2buttons) & (BUTTON_CANCEL_USE | BUTTON_ACCEPT_USE);
|
activatepressed = c1buttons & (BUTTON_CANCEL_USE | BUTTON_ACCEPT_USE);
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user