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