PAD: Just enable pressure on CMD 0x4F

This commit is contained in:
KrossX 2021-03-27 16:57:37 -03:00 committed by lightningterror
parent 12e9ddfa2b
commit 0235bec410
2 changed files with 2 additions and 26 deletions

View File

@ -467,16 +467,7 @@ u8 pad_poll(u8 value)
{
pad->umask[query.lastByte - 3] = value;
}
if (query.lastByte == 5)
{
if (!(value & 1))
pad->set_mode(MODE_DIGITAL);
else if (!(value & 2))
pad->set_mode(MODE_ANALOG);
else
pad->set_mode(MODE_DS2_NATIVE);
}
pad->set_mode(MODE_DS2_NATIVE);
break;
default:

View File

@ -1484,22 +1484,7 @@ u8 PADpoll(u8 value)
{
pad->umask[query.lastByte - 3] = value;
}
if (query.lastByte == 5)
{
if (!(value & 1))
{
pad->mode = MODE_DIGITAL;
}
else if (!(value & 2))
{
pad->mode = MODE_ANALOG;
}
else
{
pad->mode = MODE_DS2_NATIVE;
}
}
pad->mode = MODE_DS2_NATIVE;
break;
default:
DEBUG_OUT(0);