View Single Post
Old 07-02-2023, 02:28 PM   #160
denisuu
Zealot
denisuu has learned how to buy an e-book online
 
denisuu's Avatar
 
Posts: 136
Karma: 98
Join Date: Dec 2018
Device: Onyx Leaf 2 (White)
I also use KoReader, you'll notice that if you hold the device upside down the buttons don't change. You'll need a patch for that, it's very simple though.

Patch thread: https://github.com/koreader/koreader/issues/9223

Save the content below in a textfile, rename it to 2-disable-hw-button-rotation.lua and place it under /koreader/patches/

Code:
local logger = require("logger")
local Device = require("device")
Device.input:disableRotationMap()
logger.info("Hardware button rotation disabled by user patch")
denisuu is offline   Reply With Quote