Update button tests

This commit is contained in:
Insality
2022-09-11 14:19:07 +03:00
parent 79a711fa01
commit d92be1cfa7
2 changed files with 42 additions and 0 deletions

View File

@@ -19,6 +19,20 @@ function M.click_released(x, y)
end
function M.key_pressed(key_id)
return hash(key_id), {
pressed = true
}
end
function M.key_released(key_id)
return hash(key_id), {
released = true
}
end
function M.click_repeated(x, y)
return hash("touch"), {
repeated = true,