Skip to content

Commit

Permalink
hid: Use the Npad-revision for 18.0.0+.
Browse files Browse the repository at this point in the history
  • Loading branch information
yellows8 committed Nov 25, 2024
1 parent eef44aa commit 432b4e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nx/source/services/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,8 @@ static Result _hidActivateNpad(void) {
revision = 0x2; // [6.0.0+]
if (hosversionAtLeast(8,0,0))
revision = 0x3; // [8.0.0+]
if (hosversionAtLeast(18,0,0))
revision = 0x5; // [18.0.0+]

return _hidCmdInU32AruidNoOut(revision, 109); // ActivateNpadWithRevision
}
Expand Down

0 comments on commit 432b4e3

Please sign in to comment.