mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
frontlight on kobo: a few fixes (#3163)
* frontlight on kobo: a few fixes Rewritten to not update NickelConf on every change, and never if KOBO_SYNC_BRIGHTNESS_WITH_NICKEL = false. Reintroduce global settings frontlight_intensity and is_frontlight_on to keep level and state across koreader sessions. Fix a few of the remaining issues on kobo light. Ensure settings are saved when rebooting/powering off from File browser. * Ensure untoggle works when starting with light off
This commit is contained in:
@@ -170,9 +170,10 @@ SEARCH_SERIES = true
|
||||
SEARCH_PATH = true
|
||||
|
||||
-- Light parameter for Kobo
|
||||
KOBO_LIGHT_ON_START = -2 -- -1, -2 or 0-100. -1 leaves light as it
|
||||
-- is, -2 uses 'Kobo eReader.conf', other
|
||||
-- sets light on start/wake up
|
||||
KOBO_LIGHT_ON_START = -2 -- -1, -2 or 0-100.
|
||||
-- -1 uses previous koreader session saved brightness
|
||||
-- -2 uses 'Kobo eReader.conf' brighness,
|
||||
-- other sets light on start to a fix brighness
|
||||
KOBO_SYNC_BRIGHTNESS_WITH_NICKEL = true -- Save brightness set in KOreader
|
||||
-- with nickel's 'Kobo eReader.conf'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user