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')
-rw-r--r--meta/3rd/love2d/library/love.touch.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/3rd/love2d/library/love.touch.lua b/meta/3rd/love2d/library/love.touch.lua
index 9ab497fa..9c7f7e10 100644
--- a/meta/3rd/love2d/library/love.touch.lua
+++ b/meta/3rd/love2d/library/love.touch.lua
@@ -1,18 +1,19 @@
---@meta
+-- version: nil
---@class love.touch
love.touch = {}
---
---Gets the current position of the specified touch-press, in pixels.
---
----@param id love.light|userdata # The identifier of the touch-press. Use love.touch.getTouches, love.touchpressed, or love.touchmoved to obtain touch id values.
+---@param id lightuserdata # The identifier of the touch-press. Use love.touch.getTouches, love.touchpressed, or love.touchmoved to obtain touch id values.
function love.touch.getPosition(id) end
---
---Gets the current pressure of the specified touch-press.
---
----@param id love.light|userdata # The identifier of the touch-press. Use love.touch.getTouches, love.touchpressed, or love.touchmoved to obtain touch id values.
+---@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