mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Update button tests
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user