- [EMU] activate pad analog state different way

This commit is contained in:
Ilya Shurumov 2020-11-13 00:43:24 +06:00
parent 13f5154daf
commit 2b2ded5c0a

View File

@ -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");