Skip to content

Commit

Permalink
UPBGE: Fix bge.events API
Browse files Browse the repository at this point in the history
Fixes #514

Thanks @hg1 for report!
  • Loading branch information
youle31 committed Jun 20, 2017
1 parent 1538889 commit 403d19b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/python_api/rst/bge.events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ This module holds key constants for the SCA_KeyboardSensor.
sensor = co.sensors["Keyboard"]
sensor.key = bge.events.F1KEY
code-block:: python
.. code-block:: python
# Do the all keys thing
import bge
Expand All @@ -41,7 +41,7 @@ This module holds key constants for the SCA_KeyboardSensor.
if key == bge.events.DKEY:
# Activate Right!
code-block:: python
.. code-block:: python
# The all keys thing without a keyboard sensor (but you will
# need an always sensor with pulse mode on)
Expand Down

0 comments on commit 403d19b

Please sign in to comment.