View Single Post
Old 01-26-2023, 05:56 PM   #433
nmyshkin
Connoisseur
nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.nmyshkin actually enjoys Vogon poetry.
 
nmyshkin's Avatar
 
Posts: 59
Karma: 56675
Join Date: Nov 2021
Device: Nook Simple Touch (3), Nook Simple Touch w/Glowlight (3)
Quote:
Originally Posted by pazos View Post
Patches welcome to make the UI more complete. In the mean time if you want to have full sensor behaviour you'll need a patch.lua with something like

Code:
local ffi = require("ffi")
local android = require("android")
local C = ffi.C
android.orientation.set(C.ASCREEN_ORIENTATION_FULL_SENSOR)
placed in /sdcard/koreader
I've tried to figure out exactly how this information should be included. Do I insert this text between {} in a format such as defaults.custom.lua or is there more to be done?

I tried what I described above with no effect. Some syntactical elements missing? Some other file name? Some?

Edit: See here: https://www.mobileread.com/forums/sh...47&postcount=5

Last edited by nmyshkin; 01-29-2023 at 01:08 PM. Reason: Solution found
nmyshkin is offline   Reply With Quote