<script>
try {
const test = navigator.getGamepads();
if (test) window.parent.postMessage({ enabled: true }, "*");
} catch (err) {
window.parent.postMessage({ enabled: false }, "*");
}
</script>
<script>
try {
const test = navigator.getGamepads();
if (test) window.parent.postMessage({ enabled: true }, "*");
} catch (err) {
window.parent.postMessage({ enabled: false }, "*");
}
</script>