mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-26 04:12:34 +01:00
- [EMU] fix InternalPadUpdates logic error
This commit is contained in:
parent
2e39fe3d90
commit
f1c3a137a8
@ -360,10 +360,10 @@ void InternalPadUpdates()
|
||||
pad->status = 0; // PadStateStable?
|
||||
|
||||
// switch to analog state
|
||||
if(pad->analog[0] == 255 ||
|
||||
if((pad->analog[0] == 255 ||
|
||||
pad->analog[1] == 255 ||
|
||||
pad->analog[2] == 255 ||
|
||||
pad->analog[3] == 255 ||
|
||||
pad->analog[3] == 255) &&
|
||||
pad->id == 0x41)
|
||||
{
|
||||
eprintf("Switched controller type to ANALOG\n");
|
||||
|
Loading…
Reference in New Issue
Block a user