瀏覽代碼

Update docs

Daniele Bartolini 11 年之前
父節點
當前提交
bc67d0389d
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      documentation/lua_api.txt

+ 5 - 0
documentation/lua_api.txt

@@ -777,6 +777,11 @@ Mouse
 	**set_cursor_relative_xy** (position)
 		Sets the relative position of the cursor in window space.
 
+	**wheel** () : float
+		Returns the mouse wheel state in the current frame.
+		A positive or negative value is returned when the wheel is up or down
+		respectively, 0.0 otherwise.
+
 Touch
 -----