/* controllerMesh.dotMesh.position.z = -distance;
                controllerMesh.updateMatrixWorld();
                controllerMesh.dotMesh.visible = true; */

                const gamepads = navigator.getGamepads();
                const gamepad = gamepads[i];
                const pressed = gamepad.buttons[1].pressed;
                if (pressed) {
                  const list = menuMesh.optionsMesh.list === 'tabs' ? tabs : links;
                  menuMesh.listMesh.scrollIndex = Math.floor(yFactor*list