Time-adjust on all reMarkable events, not just EV_ABS (#7066)

reviewable/pr7037/r2
Glen Sawyer 3 years ago committed by GitHub
parent 9db4e29bb1
commit 578f92e424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,8 +70,8 @@ local Remarkable2 = Remarkable:new{
}
function Remarkable2:adjustTouchEvent(ev, by)
ev.time = TimeVal:now()
if ev.type == EV_ABS then
ev.time = TimeVal:now()
-- Mirror Y and scale up both X & Y as touch input is different res from
-- display
if ev.code == ABS_MT_POSITION_X then

Loading…
Cancel
Save