FS#6678 - Improved h10 scrollpad
This causes the following logic to be used on the (quite chaotic) h10 scrollpad.
Check to see if a scroll button was being pressed last time we looked.
Scroll the same direction if it is within extended bounds (0×150-0x3FF is UP, 0×0-0×250 is DOWN).
If a button was not being pressed start scrolling if we are within the limited bounds (0×250-0x3FF is UP, 0×0-0×150 is DOWN).
ADC Scrollpad hardware reading:
0×0 0×150 0×250 0x3FF
*——*——*——*
««« | ><><>< | »»» |
I have tested this on my h10 20g. The “scrollback” effect if you were not pressing on the very top or bottom of the scrollpad is much less frequent with this logic.
Closed by bagder
2007-11-19 22:55
Reason for closing: Rejected
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2007-11-19 22:55
Reason for closing: Rejected
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
"Latest SVN code is much better at
scrolling. Patch is not needed."
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Seems good except that when I tried it on my h10 5g the paramiters seemed awsome for the down scroll but unfortunetly the up was not working at all! the screen would even go dark when touching the up scroll. Sorry for the bad news! unless this is not designed for the 5gb!
There was a small bug in that code. I’ve attached a working version. I’m not totally convinced that it’s better than what we already have though.
That’s what I get for making last moment changes before posting a patch…
Here is a different version which I think works better. Some of the code is an attempt to mimic the original firmware, so just bear with me. But I think that it all helps. Give it a try!
here is the version that works, you forgot to include the path to file to patch just use “p0” in this 1 & it will work
There has been an improvement to the scrollpad in SVN recently. I don’t think we still need this solution, do we?
well but even though there is an improvement in the list scan acceleration , we still need this to supplement scrolling to smoothen it, my upper end n lower end of the scrollpad still jumpy
kindly ignore my last comment thanks