Fix the bug where "Press" key does not open config menu on Kindle 4 NT (#3898)

This commit is contained in:
Ruoyu Sun
2018-04-19 21:44:13 +03:00
committed by Frans de Jonge
parent 9e4e71d630
commit 7f15b3a142

View File

@@ -12,7 +12,7 @@ local ReaderConfig = InputContainer:new{
function ReaderConfig:init()
if not self.dimen then self.dimen = Geom:new{} end
if Device:hasKeyboard() then
if Device:hasKeys() then
self.key_events = {
ShowConfigMenu = { {{"Press","AA"}}, doc = "show config dialog" },
}