the Back key on Android should close the popup window and menu

This commit is contained in:
chrox committed 2014-06-10 21:33:31 +08:00
1 parent 613c66aa73
commit e624695d54
14 files changed
+39 -21

No files matched your search

@@ -25,7 +25,7 @@ local ReaderPaging = InputContainer:new{
}
function ReaderPaging:init()
if Device:hasKeyboard() then
if Device:hasKeyboard() or Device:hasKeys() then
self.key_events = {
GotoNextPage = {
{Input.group.PgFwd}, doc = "go to next page",