Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2013-02-10 10:13:26 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-02-10 10:13:26 +0400
commit372cf9330955c7d7b16529ffc7d39265ada47474 (patch)
tree1a28773cfdce0f10079cf3b4212dc07cba7c104f /doc/python_api/rst/bge_types/bge.types.SCA_PythonMouse.rst
parenta4a1c667257e493bdeb5354f87083291af122a68 (diff)
BGE: Splitting up the bge.types docs so they are not all on the same page. This should make them much easier to browse.
Diffstat (limited to 'doc/python_api/rst/bge_types/bge.types.SCA_PythonMouse.rst')
-rw-r--r--doc/python_api/rst/bge_types/bge.types.SCA_PythonMouse.rst35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.SCA_PythonMouse.rst b/doc/python_api/rst/bge_types/bge.types.SCA_PythonMouse.rst
new file mode 100644
index 00000000000..b1c6e5d1487
--- /dev/null
+++ b/doc/python_api/rst/bge_types/bge.types.SCA_PythonMouse.rst
@@ -0,0 +1,35 @@
+SCA_PythonMouse(PyObjectPlus)
+=============================
+
+.. module:: bge.types
+
+base class --- :class:`PyObjectPlus`
+
+.. class:: SCA_PythonMouse(PyObjectPlus)
+
+ The current mouse.
+
+ .. attribute:: events
+
+ a dictionary containing the status of each mouse event. (read-only).
+
+ :type: dictionary {:ref:`keycode<mouse-keys>`::ref:`status<input-status>`, ...}
+
+ .. attribute:: active_events
+
+ a dictionary containing the status of only the active mouse events. (read-only).
+
+ :type: dictionary {:ref:`keycode<mouse-keys>`::ref:`status<input-status>`, ...}
+
+ .. attribute:: position
+
+ The normalized x and y position of the mouse cursor.
+
+ :type: list [x, y]
+
+ .. attribute:: visible
+
+ The visibility of the mouse cursor.
+
+ :type: boolean
+