mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Time-adjust on all reMarkable events, not just EV_ABS (#7066)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user