hid: Use the Npad-revision for 18.0.0+.

This commit is contained in:
yellows8 2024-11-24 19:34:28 -05:00
parent eef44aa5e1
commit 432b4e3900
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -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
}