mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-20 20:22:38 +02:00
hid: Use the Npad-revision for 18.0.0+.
This commit is contained in:
parent
eef44aa5e1
commit
432b4e3900
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user