summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love/touch.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/love2d/library/love/touch.lua')
m---------meta/3rd/love2d0
-rw-r--r--meta/3rd/love2d/library/love/touch.lua40
2 files changed, 0 insertions, 40 deletions
diff --git a/meta/3rd/love2d b/meta/3rd/love2d
new file mode 160000
+Subproject dad72a7eae31f35bf4c6529e5b81f6187b5b737
diff --git a/meta/3rd/love2d/library/love/touch.lua b/meta/3rd/love2d/library/love/touch.lua
deleted file mode 100644
index bacf8e30..00000000
--- a/meta/3rd/love2d/library/love/touch.lua
+++ /dev/null
@@ -1,40 +0,0 @@
----@meta
-
----
----Provides an interface to touch-screen presses.
----
----
----[Open in Browser](https://love2d.org/wiki/love.touch)
----
----@class love.touch
-love.touch = {}
-
----
----Gets the current position of the specified touch-press, in pixels.
----
----
----[Open in Browser](https://love2d.org/wiki/love.touch.getPosition)
----
----@param id lightuserdata # The identifier of the touch-press. Use love.touch.getTouches, love.touchpressed, or love.touchmoved to obtain touch id values.
----@return number x # The position along the x-axis of the touch-press inside the window, in pixels.
----@return number y # The position along the y-axis of the touch-press inside the window, in pixels.
-function love.touch.getPosition(id) end
-
----
----Gets the current pressure of the specified touch-press.
----
----
----[Open in Browser](https://love2d.org/wiki/love.touch.getPressure)
----
----@param id lightuserdata # The identifier of the touch-press. Use love.touch.getTouches, love.touchpressed, or love.touchmoved to obtain touch id values.
----@return number pressure # The pressure of the touch-press. Most touch screens aren't pressure sensitive, in which case the pressure will be 1.
-function love.touch.getPressure(id) end
-
----
----Gets a list of all active touch-presses.
----
----
----[Open in Browser](https://love2d.org/wiki/love.touch.getTouches)
----
----@return table touches # A list of active touch-press id values, which can be used with love.touch.getPosition.
-function love.touch.getTouches() end