This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11096 - %Tl: Set the last touch time intially to 0
Attached to Project:
Rockbox
Opened by Jens Theeß (punkt) - Friday, 12 March 2010, 22:39 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 15 June 2010, 08:55 GMT+2
Opened by Jens Theeß (punkt) - Friday, 12 March 2010, 22:39 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Tuesday, 15 June 2010, 08:55 GMT+2
|
DetailsAs it is now, last_touchscreen_touch is initialized to 0xffff, which is in the future. Therefore %Tl is true at rockbox start, and doesn't turn to false after the timeout of %Tl elapsed. This seems wrong, since the user hasn't actually touched yet.
With the proposed patch, %Tl is also true at rockbox start, but turns to false after the timeout elapses. I thought of initializing last_touchscreen_touch to INT_MIN, but that didn't work for some reason. |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Tuesday, 15 June 2010, 08:55 GMT+2
Reason for closing: Accepted
Tuesday, 15 June 2010, 08:55 GMT+2
Reason for closing: Accepted
does this fix the problem? I tried in the sim and got nowhere
That fix works for me in the sim.