From b253a774f649b6967665bb40f19a350f51cf05b1 Mon Sep 17 00:00:00 2001 From: Qingping Hou Date: Mon, 10 Dec 2012 21:05:35 -0500 Subject: [PATCH] added TODO in Input:init in case I forget it in the future --- frontend/ui/inputevent.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/ui/inputevent.lua b/frontend/ui/inputevent.lua index 8866cd0fb..daa21ec40 100644 --- a/frontend/ui/inputevent.lua +++ b/frontend/ui/inputevent.lua @@ -269,6 +269,8 @@ function Input:init() -- update event hook function Input:eventAdjustHook(ev) if ev.type == EV_ABS then + --@TODO handle coordinates properly after + --screen rotate. (houqp) if ev.code == ABS_MT_POSITION_X then ev.code = math.round(ev.code * (600/4095)) elseif ev.code == ABS_MT_POSITION_Y then