From 002e0c1673fdc5bd76331aaa1359cbb0925dad2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 20 Jul 2021 17:06:06 +0800 Subject: update --- meta/3rd/love2d/library/love.touch.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/3rd/love2d/library/love.touch.lua') diff --git a/meta/3rd/love2d/library/love.touch.lua b/meta/3rd/love2d/library/love.touch.lua index 1b9251fd..976b9f29 100644 --- a/meta/3rd/love2d/library/love.touch.lua +++ b/meta/3rd/love2d/library/love.touch.lua @@ -4,7 +4,7 @@ love.touch = {} --- ---Gets the current position of the specified touch-press, in pixels. --- ----@param id 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 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 @@ -12,7 +12,7 @@ function love.touch.getPosition(id) end --- ---Gets the current pressure of the specified touch-press. --- ----@param id 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 -- cgit v1.2.3