Input: Actually fix the timer double-free

For realz, this time.

This reverts the original attempt, because it was gratuitous
overcomplexification that turns out to be completely unnecessary.

This also fixes a few subtle MT handling snafus on some devices.
This commit is contained in:
NiLuJe
2022-08-14 00:49:30 +02:00
parent db2ba08617
commit ba43ac1833
4 changed files with 71 additions and 50 deletions

View File

@@ -6,7 +6,7 @@ describe("input module", function()
ffi = require("ffi")
C = ffi.C
require("ffi/linux_input_h")
Input = require("device/input")
Input = require("device").input
end)
describe("handleTouchEvPhoenix", function()