View Single Post
Old 08-18-2023, 01:27 PM   #561
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,632
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Probably see https://github.com/koreader/koreader...ent-1336123364 in which case it's not supported very well, some of them might be fixable.

For example, for the frontlight widget, maybe this would do the trick.
Code:
diff --git a/frontend/ui/widget/frontlightwidget.lua b/frontend/ui/widget/frontlightwidget.lua
index 80e605192..807455acb 100644
--- a/frontend/ui/widget/frontlightwidget.lua
+++ b/frontend/ui/widget/frontlightwidget.lua
@@ -82,7 +82,8 @@ function FrontLightWidget:init()
 
     -- Input
     if Device:hasKeys() then
-        self.key_events.Close = { { Device.input.group.Back } }
+        local close_keys = Device:hasFewKeys() and { "Back", "Left" } or "Back"
+        self.key_events.Close = { { close_keys }, doc = "close frontlight widget" }
     end
     if Device:isTouchDevice() then
         self.ges_events = {
Frenzie is offline   Reply With Quote