mirror of
https://github.com/Reuh/ubiquitousse.git
synced 2025-10-27 17:19:31 +00:00
DAMN SEQUENTIAL ORDER
This commit is contained in:
parent
e063f55514
commit
f3b5338779
3 changed files with 6 additions and 10 deletions
|
|
@ -1,6 +1,5 @@
|
|||
-- ubiquitousse.input
|
||||
local uqt = require((...):match("^(.-ubiquitousse)%."))
|
||||
local draw = uqt.draw
|
||||
|
||||
--- Used to store inputs which were updated this frame
|
||||
-- { Input: true, ... }
|
||||
|
|
@ -263,6 +262,7 @@ input = {
|
|||
-- @tretrun PointerInput the object
|
||||
-- @impl ubiquitousse
|
||||
pointer = function(...)
|
||||
local draw = uqt.draw -- requires width and height
|
||||
local pointers = {} -- pointers list
|
||||
local x, y = 0, 0 -- pointer position
|
||||
local width, height = 1, 1 -- half-dimensions of the movement area
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue