From 3d2f1ca4c938d7e7b5a1b5b41aa38e22528c55cf Mon Sep 17 00:00:00 2001 From: dualshock-tools Date: Sun, 6 Apr 2025 18:30:41 +0200 Subject: [PATCH] DS Edge: update commands to flash --- core.js | 10 +++++++++- index.html | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/core.js b/core.js index c6944aa..8d2a0b6 100644 --- a/core.js +++ b/core.js @@ -867,7 +867,15 @@ async function ds5_edge_flash_modules() { modal.show(); if(device != null) { - await device.sendFeatureReport(0x80, alloc_req(0x80, [21, 1, 1])) + await device.sendFeatureReport(0x80, alloc_req(0x80, [21, 6, 0, 11])) + await new Promise(r => setTimeout(r, 200)); + await device.sendFeatureReport(0x80, alloc_req(0x80, [21, 5, 0])) + await new Promise(r => setTimeout(r, 200)); + + await device.sendFeatureReport(0x80, alloc_req(0x80, [21, 6, 1, 11])) + await new Promise(r => setTimeout(r, 200)); + await device.sendFeatureReport(0x80, alloc_req(0x80, [21, 5, 1])) + await new Promise(r => setTimeout(r, 200)); } await new Promise(r => setTimeout(r, 500)); if(device != null) { diff --git a/index.html b/index.html index 6821f40..71d58b3 100644 --- a/index.html +++ b/index.html @@ -823,7 +823,7 @@ dl.row dd { font-family: monospace; }