mirror of
https://github.com/Reuh/ubiquitousse.git
synced 2025-10-27 17:19:31 +00:00
input: add :set method
This commit is contained in:
parent
99a19b11c5
commit
0ea6117af9
1 changed files with 4 additions and 0 deletions
|
|
@ -724,6 +724,10 @@ input_mt = {
|
|||
c:neutralize()
|
||||
end
|
||||
end,
|
||||
--- Manually set the state of this input.
|
||||
set = function(self, ...)
|
||||
self:_update{...}
|
||||
end,
|
||||
|
||||
--- Set the joystick associated with this input.
|
||||
-- This input will then ignore every other joystick.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue