Quote:
Originally Posted by baf
A bit of explanation here.
Problem is that I don't know how to check if system keyboard is open (in a simple way). So if you open keyboard with button, program knows it is open and then pressing button again will close it.
However in case the keyboard is opened automatically you shouldn't try to close it with a button, because program thinks it is closed and tries to open it. First button press does nothing then. Second press will close it.
When keyboard is opened automatically by system, close it pressing somewhere outside the entry field. When focus is removed from entry box the keyboard will close automatically.
|
Thanks for the explanation. : ) I didn't know those details, very helpful.
Quote:
Originally Posted by eureka
It's posiible with lipc-get-prop tool:
Code:
lipc-get-prop com.lab126.keyboard show
Will output 0 if keyboard is closed, 1 otherwise.
|
That is exceptionally helpful also : ) Uber thanks.