Presence of a hardware keyboard
-
Hi
I would like to now the way to detect the presence or not of a physical keyboard on the device.
Regards
-
Hi,
What device/OS are you targeting ?
-
@SGaist Hi
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
Thanks
-
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
-
Thanks
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
Thx