mirror of
https://github.com/koreader/koreader.git
synced 2025-12-24 12:14:05 +01:00
add PocketBook port of Koreader
This commit is contained in:
@@ -143,8 +143,8 @@ wrapper for FFI input open
|
||||
Note that we adhere to the "." syntax here for compatibility.
|
||||
TODO: clean up separation FFI/this
|
||||
--]]
|
||||
function Input.open(device)
|
||||
input.open(device)
|
||||
function Input.open(device, kobo_events)
|
||||
input.open(device, kobo_events and 1 or 0)
|
||||
end
|
||||
|
||||
--[[
|
||||
@@ -341,6 +341,7 @@ function Input:handleTouchEv(ev)
|
||||
local touch_ges = self.gesture_detector:feedEvent(self.MTSlots)
|
||||
self.MTSlots = {}
|
||||
if touch_ges then
|
||||
--DEBUG("ges", touch_ges)
|
||||
return Event:new("Gesture",
|
||||
self.gesture_detector:adjustGesCoordinate(touch_ges)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user