View Single Post
Old 10-13-2013, 12:51 PM   #36
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Quote:
Originally Posted by baf View Post
You could easily take over KT button for that. In rc.lua it is currently mapped to handleHomeKeyDown and handleHomeKeyUp functions. Replace it with show/hide keyboard function. In the same script there examples how to do that with lipcH:set_string_property() function. You could check the current state of keyboard with keyboard_is_visible() function.

You can also implement your sentinel in functions handling button (touchscreen) presses (in the same rc.lua).
excellent points... many thanks
twobob is offline   Reply With Quote