I have found that some joystick objects for mobile are appearing on desktops as well in HTML5. I'm wondering if there's some way to test to see if the user is using a mobile device with touchscreen or not, to either hide or show controls appropriately. Any ideas would be great. Thanks,