diff --git a/frontend/ui/inputevent.lua b/frontend/ui/inputevent.lua index f29835c51..95480d57c 100644 --- a/frontend/ui/inputevent.lua +++ b/frontend/ui/inputevent.lua @@ -323,8 +323,14 @@ function Input:init() if ev.code == ABS_X then ev.code = ABS_Y elseif ev.code == ABS_Y then - ev.code = ABS_X - ev.value = Screen.width - ev.value + ev.code = ABS_X + -- We always have to substract from the physical x, + -- regardless of the orientation + if (Screen.width