Glo HD support

This commit is contained in:
Guangda Hu
2015-05-15 17:46:16 -04:00
parent 804554e462
commit 69db627136
2 changed files with 21 additions and 0 deletions

View File

@@ -207,6 +207,12 @@ function Input:adjustTouchTranslate(ev, by)
end
end
end
function Input:adjustTouchAlyssum(ev)
ev.time = TimeVal:now()
if ev.type == EV_ABS and ev.code == ABS_MT_TRACKING_ID then
ev.value = ev.value - 1
end
end
function Input:setTimeout(cb, tv_out)
local item = {