For people who have an issue with the wrong orientation when returning from sleep with the page buttons inverted (see
here), I've written a patch which inverts the buttons without affecting anything else as a workaround.
The following patch will conflict with the "Both buttons go next' patch.
Code:
Invert page turn buttons:
- Enabled: yes
# In ReadingView::keyPressEvent(QKeyEvent*), invert the branch to next page:
- ReplaceBytes: {Offset: 0xAD2824, FindH: 28 B9, ReplaceH: 28 B1} # CBNZ R0, #0xE -> CBZ R0, #0xE