I have an Ionic React app that provides keyboard shortcuts. When users go to the main screen, I want to show information about keyboard shortcuts if the device has a physical keyboard. But for mobile devices without a keyboard, there is no need to show such info.
Is there some way to detect whether there is a physical keyboard?
For desktop PCs, I can check the platform, and if it is not Android or iOS, show the info. But I want to differentiate between mobile devices/tablets being used by themselves, and those with a physical keyboard connected. How can I do that?