mirror of
https://github.com/Reuh/ubiquitousse.git
synced 2025-10-27 17:19:31 +00:00
input: fix mouse[N]
This commit is contained in:
parent
336f4f01a5
commit
0c765b315e
14 changed files with 28 additions and 23 deletions
|
|
@ -57,10 +57,10 @@ signal.event:bind("textinput", function(text)
|
|||
end)
|
||||
|
||||
signal.event:bind("mousepressed", function(x, y, button, istouch, presses)
|
||||
update(("mouse.%s"):format(button), 1)
|
||||
update(("mouse[%s]"):format(button), 1)
|
||||
end)
|
||||
signal.event:bind("mousereleased", function(x, y, button, istouch, presses)
|
||||
update(("mouse.%s"):format(button), 0)
|
||||
update(("mouse[%s]"):format(button), 0)
|
||||
end)
|
||||
|
||||
signal.event:bind("mousemoved", function(x, y, dx, dy, istouch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue