Allow Backspace to work as back button
This commit is contained in:
1 parent
ccc49036aa
commit
16e3b2f0ac
31 files changed
+50
-27
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user