View Single Post
Old 11-07-2018, 07:10 PM   #37
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,808
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by rogerinnyc View Post
1. On the Forma, I'd love to have the option to have the physical page buttons ALWAYS trigger page forward -- i.e., toggle up OR toggle down. My grip shifts, so sometimes one toggle direction is more natural for me than the other, but I always want to be going forward. If I need to go backwards (rarely) I can just swipe.
Can you try this in libnickel.so.1.0.0.yaml and tell me if it works?

Code:
Both page turn buttons go next:
  - Enabled: yes
  - Description: |
      Might make both page turn buttons on the Forma go next. Still testing.
  # In ReadingView::keyPressEvent(QKeyEvent*):
  # nop the possible branch to prev page, falling through to the next page no matter what.
  - ReplaceBytes: {Offset: 0x9E378A, FindH: 2E B1, ReplaceH: 00 46}
EDIT: jackie_w has tested it, and it does work. I'm releasing this now in v27.

Last edited by geek1011; 11-07-2018 at 07:51 PM.
geek1011 is offline   Reply With Quote