Fixing button invert on start (#11982)

fixing issue described here https://github.com/koreader/koreader/pull/11963#issuecomment-2147876605
This commit is contained in:
David
2024-06-05 15:05:36 +01:00
committed by GitHub
parent 7a84cfef4a
commit f330593233

View File

@@ -257,6 +257,12 @@ function Device:init()
if G_reader_settings:isTrue("input_invert_page_turn_keys") then
self:invertButtons()
end
if G_reader_settings:isTrue("input_invert_left_page_turn_keys") then
self:invertButtonsLeft()
end
if G_reader_settings:isTrue("input_invert_right_page_turn_keys") then
self:invertButtonsRight()
end
end
if self:hasGSensor() then