a way to implement double click could be, only register the 'even' number of touch.
so, if it's the first touch, do nothing.
if the second touch, accept it.
start the loop again.
i guess you would want to make a timeout too, so the 2nd touch has to happen within .5 seconds from the 1st.
surely there must be a way to hook in to the touch screen and do that - for the people in the know who want to do this.

good luck
Quote:
Originally Posted by baf
|
i remember seeing this beore, nice idea, although i don't have a use for it personally.
it should be very possible for someone to put the ideas i wrote above, into your code, if that would be ok
-edit. i just realized, doing it so simply like i said, you could press anywhere initially, and have the 2nd press at a completely different part of the screen, and it would reigster.
it would be best to have some leeway, the 2nd click is only recognized if it is +-5px of the first.
i wrote some basic, unworking, out of context code. i started working with baf's program, although having never worked with X11, never complied anything for kindle, etc etc, i'm not in a position to test it out so it's not really worth my time to do anymore since i won't be able to see what is right and wrong.
if anyone else wants to carry on from what i did then: