Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Presence of a hardware keyboard
I would like to now the way to detect the presence or not of a physical keyboard on the device.
What device/OS are you targeting ?
All the device / OS :-)
Our application (zeecrowd) run on desktop : PC and Mac
Now we targeting tablet. It runs on Samsung Galaxy Tab4 but i need to now if a physical keyboard is connecting.
Because i set the focus on a TextInput only if a physical keyboard is connected
Why only if there's a hardware keyboard ?
When there isn't physical keyboard when i set the focus a virtual keyboard is showed automatically.
Thus i want to set the focus only there is a physical keyboard. Otherwise the user click on the InputText and then there is a virtual keyboard
On android you might be able to achieve that using this
zeecrowddev last edited by zeecrowddev
But a stupid question (and i hope the last :-) ) : how can i call this java function from Qt ?
Sorry i found the answer in Qt Android Extras