mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +02:00
23 lines
228 B
Lua
23 lines
228 B
Lua
local M = {}
|
|
|
|
|
|
function M.click_pressed(x, y)
|
|
return hash("touch"), {
|
|
pressed = true,
|
|
x = x,
|
|
y = y,
|
|
}
|
|
end
|
|
|
|
|
|
function M.click_released(x, y)
|
|
return hash("touch"), {
|
|
released = true,
|
|
x = x,
|
|
y = y,
|
|
}
|
|
end
|
|
|
|
|
|
return M
|