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:
1 parent
46aed752c7
commit
fb073c4d63
1 file changed
+2
-2
@@ -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