BGE Py API docs: correct references to bge.keys

This commit is contained in:
Campbell Barton 2013-01-28 06:39:23 +00:00
parent 7f9b650ced
commit a1a8e43d5a
2 changed files with 6 additions and 6 deletions

@ -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

@ -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