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