View Single Post
Old 04-25-2012, 04:33 PM   #3
geekmaster
Всё гениальное просто.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 5,070
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by lukeroge View Post
A far as I know, the gestures are part of the java framework, not the lower level parts, which might make it a bit harder to achieve.
I have low-level scripts that read gestures by tailing the log files. There is a small lag, but still quite usable.

I have only published a TINY portion of my experimental code.

EDIT: You can read gestures like this:

tail -f /var/log/Xorg.0.log

The gestures are numeric "button codes". I posted what they all meant a long time ago. I will search the forum for them...

UPDATE: Found it! You just need to use the right set of search keywords. I started the "Kindle Touch Gesture Engine" thread back in January. I guess it was too far ahead of its time. Perhaps NOW is the time. People can add it to the script code base I have published here.

Here is sample gesture log output (with interpretation) for all the gestures I could get it to report:


The log file is actually quite responsive, and useful for reading gestures with scripts.

The kindle touch does not support 3-finger gestures (other than two fingers on screen while pressing the Home button).



Last edited by geekmaster; 04-25-2012 at 04:50 PM.
geekmaster is offline   Reply With Quote