Allow Backspace to work as back button

This commit is contained in:
poire-z committed 2022-01-24 08:50:47 +01:00
1 parent ccc49036aa
commit 16e3b2f0ac
31 files changed
+50 -27

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ local ReaderBack = EventListener:new{
function ReaderBack:init()
if Device:hasKeys() then
self.ui.key_events.Back = { {"Back"}, doc = "Reader back" }
self.ui.key_events.Back = { {Device.input.group.Back}, doc = "Reader back" }
end
-- Regular function wrapping our method, to avoid re-creating
-- an anonymous function at each page turn