geometer / FBReader

Official FBReader C++ project repository
http://www.fbreader.org/
540 stars 170 forks source link

Implement automatic scrolling #216

Open snowwlex opened 12 years ago

snowwlex commented 12 years ago

from http://old.fbreader.org/mantis/view.php?id=98

Autoscrolling: When reading, I press a button to toggle autoscroll mode. In autoscroll mode, buttons should be mapped to increase and decrease scroll speed. I have mapped up and down in Opiereader. Outside of autoscroll mode, the same buttons scroll up or down a page at a time. Autoscroll mode should also prevent any power management from turning off the screen or the device.

Ideas: Auto Scrolling mode should be entered and exited at the press of a single button. Buttons should be able to be mapped to do different things in this mode than out. At least, up should be mapped to scroll up in regular mode and decrease scroll speed in autoscroll mode. Likewise for down.

It should attempt to turn off power management or keep the screen on.

Tasks:

This was my first look at the code. I'd appreciate if someone could help refine this and add more details.

jstrunk commented 12 years ago

I think this is more interesting on FBReaderJ on Android.

daisy613 commented 8 years ago

Has this ever been revisited? It would make FB gain an edge over MoonReader!

stephenwithav commented 8 years ago

I agree this feature would be really useful.

A quick hack for the Linux version (lean-back experience?):

  1. install xdotool
  2. open FBReader to the document you want to read
  3. place the mouse cursor over the scrollbar's down arrow
  4. open a terminal, run sleep 30; while xdotool click 1; do sleep 3; done

You can adjust the 30 and 3 to your own liking.