1
0
Fork 0
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:
Étienne Fildadut 2022-10-11 14:53:07 +09:00
parent 99a19b11c5
commit 0ea6117af9

View file

@ -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.