Multi-touch bug Android (MIUI)
Posted: Wed Dec 27, 2017 8:23 pm
Hi all! I have a problem.
If you touch and hold your finger on the screen. When the number of fingers is three, the touchrelease event will be called and the release count will be equal of two.
Code for test, main.lua:
I record video. Touch-pressings areas is shown by the recording application. https://youtu.be/9XVIXXwzRc8?t=1s
My android smart-phone: Xiaomi Redmi Note 3 Pro
If you touch and hold your finger on the screen. When the number of fingers is three, the touchrelease event will be called and the release count will be equal of two.
Code for test, main.lua:
Code: Select all
touchPresses = 0
touchReleases = 0
function love.touchpressed(id, x, y, dx, dy, pressure)
touchPresses = touchPresses + 1
end
function love.touchreleased(id, x, y, dx, dy, pressure)
touchReleases = touchReleases + 1
end
function love.draw()
love.graphics.print("PRESSED: " .. touchPresses .. " RELEASED: " .. touchReleases, 10, 300)
end
My android smart-phone: Xiaomi Redmi Note 3 Pro