This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10982 - New WPS tag: %Tk
Attached to Project:
Rockbox
Opened by Jens Theeß (punkt) - Monday, 08 February 2010, 20:57 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 24 February 2010, 07:19 GMT+2
Opened by Jens Theeß (punkt) - Monday, 08 February 2010, 20:57 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 24 February 2010, 07:19 GMT+2
|
DetailsThis patch adds a new tag %Tk. This works exactly the same as %Tl, except that it turns true on touchscreen release instead of touchscreen press. This can be used to implement a WPS where the first touch displays a viewport with buttons, and a second touch then activates a button.
A modified version of the Fidelity theme which I use to test this feature can be found here: http://www.theess.de/assets/files/Fidelity_Tk.zip Link to the discussion on rockbox-dev: http://www.rockbox.org/mail/archive/rockbox-dev-archive-2010-02/0022.shtml |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Wednesday, 24 February 2010, 07:19 GMT+2
Reason for closing: Accepted
Additional comments about closing: thanks! in r24876.
Wednesday, 24 February 2010, 07:19 GMT+2
Reason for closing: Accepted
Additional comments about closing: thanks! in r24876.
The new patch takes a different approach: It modifies the behaviour of touch buttons to be more similar to the way gui buttons operate in desktop applications. Upon a touch press event, the button at the touch position is armed. Upon a touch repeat or release, the button at the touch position is triggered only if it is armed. Upon release (and wps entry), all buttons are disarmed. E.g. when you touch press on an empty area, then while pressing drag your finger on a button, then release the button, the button is not triggered.
The new patch obsoletes the %Tk patch, as the behaviour I want to have can now be achieved using %Tl.