Reputation: 44807
I'm creating a web page which will only be of use to users with a physical keyboard. It makes no sense to use it if you have an on-screen keyboard. (Think typing-tutor type webapp.)
Is there any way to detect that a physical keyboard is present, from Javascript?
If not, what is the most reliable way to detect that the browser is running on a tablet or phone, rather than a desktop/laptop?
Upvotes: 1
Views: 64