mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
fix kobo touch probe
The KOBO_TOUCH_MIRRORED is only used when init input device, after the initialization setting it will have no effect on the event adjust hook.
This commit is contained in:
@@ -91,7 +91,7 @@ if KOBO_TOUCH_MIRRORED == nil then
|
||||
UIManager:show(TouchProbe:new{})
|
||||
UIManager:run()
|
||||
-- otherwise, we will use probed result
|
||||
else
|
||||
KOBO_TOUCH_MIRRORED = switch_xy
|
||||
elseif switch_xy then
|
||||
Input:registerEventAdjustHook(Input.adjustTouchSwitchXY)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user