From ca88ac20b66d4a3555f61c021ae249986085e3b2 Mon Sep 17 00:00:00 2001 From: dualshock-tools Date: Mon, 24 Jun 2024 18:03:09 +0200 Subject: [PATCH] Fix alloc-size for 0xa0 request --- core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core.js b/core.js index 560b84b..ed2f23b 100644 --- a/core.js +++ b/core.js @@ -149,7 +149,7 @@ async function ds4_info() { async function ds4_reset() { la("ds4_reset"); try { - await device.sendFeatureReport(0xa0, alloc_req(0x80, [4,1,0])) + await device.sendFeatureReport(0xa0, alloc_req(0xa0, [4,1,0])) } catch(error) { } }