I have a full-screen game in HTML+JavaScript, which uses the arrow keys as primary controls. This cannot be used on keyboardless Android devices (I haven\'t tested on iOS),
No need for any user-agent sniffing, config options or any kind of guessing. Just do this:
You never even needed to mention the option to the user and you auto-detected their preferred control perfectly.