update koreader-base for multi-touch support on PocketBook

pull/1390/head
chrox 9 years ago
parent d94d7d3aa7
commit 291f088d94

@ -1 +1 @@
Subproject commit 877d3b55cb3d687de2a2e4422395e6624c202c60
Subproject commit 9b1b46b5c0de218ac741837a5e00dda500ec8081

@ -43,7 +43,7 @@ local PocketBook = Generic:new{
function PocketBook:init()
self.input:registerEventAdjustHook(function(_input, ev)
DEBUG("ev", ev)
--DEBUG("ev", ev.type, ev.code, ev.value)
if ev.type == EVT_KEYDOWN or ev.type == EVT_KEYUP then
ev.code = ev.code
ev.value = ev.type == EVT_KEYDOWN and 1 or 0

Loading…
Cancel
Save