Why not just have a box that asks which device type you're on? I noticed some Godot projects' Web versions still work for me on mobile. Maybe this is one where it would still work?
i have figured out how to fix it but thats a good idea