Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Drivers
  • Assigned To No-one
  • Operating System iriver H10
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
  • Private
Attached to Project: Rockbox
Opened by Damium - 2007-02-20
Last edited by bagder - 2007-11-19

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

"Latest SVN code is much better at scrolling. Patch is not needed."

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

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing