Skip to content

Commit

Permalink
PAD: Just enable pressure on CMD 0x4F
Browse files Browse the repository at this point in the history
  • Loading branch information
KrossX authored and lightningterror committed Apr 10, 2021
1 parent 12e9ddf commit 0235bec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
11 changes: 1 addition & 10 deletions pcsx2/PAD/Linux/state_management.cpp
Expand Up @@ -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:
Expand Down
17 changes: 1 addition & 16 deletions pcsx2/PAD/Windows/PAD.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 0235bec

Please sign in to comment.