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
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-01-28 10:39:23 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-01-28 10:39:23 +0400
commita1a8e43d5a6f5bac5f123cdbe06e77279a0b3a3f (patch)
tree4813825506f49ff94bf877deb38a8e13a6ea3d52 /doc
parent7f9b650cedddcc7150e5a0f284af000451a21a34 (diff)
BGE Py API docs: correct references to bge.keys
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/bge.events.rst4
-rw-r--r--doc/python_api/rst/bge.types.rst8
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/python_api/rst/bge.events.rst b/doc/python_api/rst/bge.events.rst
index 074e928f0d8..2238faea242 100644
--- a/doc/python_api/rst/bge.events.rst
+++ b/doc/python_api/rst/bge.events.rst
@@ -69,7 +69,7 @@ Functions
Return the string name of a key event. Will raise a ValueError error if its invalid.
- :arg event: key event from bge.keys or the keyboard sensor.
+ :arg event: key event constant from :mod:`bge.events` or the keyboard sensor.
:type event: int
:rtype: string
@@ -78,7 +78,7 @@ Functions
Return the string name of a key event. Returns an empty string if the event cant be represented as a character.
:type event: int
- :arg event: key event from :mod:`bge.keys` or the keyboard sensor.
+ :arg event: key event constant from :mod:`bge.events` or the keyboard sensor.
:type shift: bool
:arg shift: set to true if shift is held.
:rtype: string
diff --git a/doc/python_api/rst/bge.types.rst b/doc/python_api/rst/bge.types.rst
index a86272ddf5c..1e2632b9ada 100644
--- a/doc/python_api/rst/bge.types.rst
+++ b/doc/python_api/rst/bge.types.rst
@@ -4215,25 +4215,25 @@ Types
A keyboard sensor detects player key presses.
- See module :mod:`bge.keys` for keycode values.
+ See module :mod:`bge.events` for keycode values.
.. attribute:: key
The key code this sensor is looking for.
- :type: keycode from :mod:`bge.keys` module
+ :type: keycode from :mod:`bge.events` module
.. attribute:: hold1
The key code for the first modifier this sensor is looking for.
- :type: keycode from :mod:`bge.keys` module
+ :type: keycode from :mod:`bge.events` module
.. attribute:: hold2
The key code for the second modifier this sensor is looking for.
- :type: keycode from :mod:`bge.keys` module
+ :type: keycode from :mod:`bge.events` module
.. attribute:: toggleProperty