DS Edge: update commands to flash

This commit is contained in:
dualshock-tools 2025-04-06 18:30:41 +02:00
parent dbcf62dc76
commit 3d2f1ca4c9
2 changed files with 10 additions and 2 deletions

10
core.js
View File

@ -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) {

View File

@ -823,7 +823,7 @@ dl.row dd { font-family: monospace; }
<div class="container">
<footer>
<div class="d-flex flex-column flex-sm-row justify-content-between py-4 my-4 border-top" id="footbody">
<p><a target="_blank" href="https://github.com/dualshock-tools/dualshock-tools.github.io/commits/main/"><span class="ds-i18n">Version</span> 2.2<i>beta</i></a> (2025-04-06) - <a href="#" class="ds-i18n" onclick="show_donate_modal();">Support this project</a>&nbsp;<span id="authorMsg"></span></p>
<p><a target="_blank" href="https://github.com/dualshock-tools/dualshock-tools.github.io/commits/main/"><span class="ds-i18n">Version</span> 2.2<i> beta 2</i></a> (2025-04-06) - <a href="#" class="ds-i18n" onclick="show_donate_modal();">Support this project</a>&nbsp;<span id="authorMsg"></span></p>
<ul class="list-unstyled d-flex">
<li class="ms-3"><a class="link-body-emphasis" href="mailto:ds4@the.al" target="_blank"><svg class="bi" width="24" height="24"><use xlink:href="#mail"/></svg></a></li>