mirror of
https://github.com/dualshock-tools/dualshock-tools.github.io.git
synced 2026-03-01 11:19:54 +03:00
Refactor into separate files with abstractions for controller types
This commit is contained in:
committed by
dualshock-tools
parent
f82cdcf663
commit
d4ba4a5fdd
26
index.html
26
index.html
@@ -26,7 +26,15 @@
|
||||
crossorigin="anonymous"></script>
|
||||
|
||||
<meta http-equiv="Permissions-Policy" content="interest-cohort=()">
|
||||
<script src="core.js"></script>
|
||||
<script type="module" src="utils.js"></script>
|
||||
<script type="module" src="translations.js"></script>
|
||||
<script type="module" src="controllers/base-controller.js"></script>
|
||||
<script type="module" src="controllers/ds4-controller.js"></script>
|
||||
<script type="module" src="controllers/ds5-controller.js"></script>
|
||||
<script type="module" src="controllers/ds5-edge-controller.js"></script>
|
||||
<script type="module" src="controllers/controller-factory.js"></script>
|
||||
<script type="module" src="controllers/controller-manager.js"></script>
|
||||
<script type="module" src="core.js"></script>
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
@@ -1184,6 +1192,20 @@ input[id^="finetune"] {
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-FSXPMDXLLS');
|
||||
gboot();
|
||||
|
||||
// Wait for the module to load before calling gboot
|
||||
if (window.gboot) {
|
||||
gboot();
|
||||
} else {
|
||||
// If gboot isn't available yet, wait for it
|
||||
const checkGboot = () => {
|
||||
if (window.gboot) {
|
||||
gboot();
|
||||
} else {
|
||||
setTimeout(checkGboot, 10);
|
||||
}
|
||||
};
|
||||
checkGboot();
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user