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.
pull/1684/head
chrox 9 years ago
parent 46aed752c7
commit fb073c4d63

@ -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

Loading…
Cancel
Save