Skip to content

Commit

Permalink
Turn the methods to list
Browse files Browse the repository at this point in the history
  • Loading branch information
enginmanap committed Jan 14, 2019
1 parent 9aa86bf commit 566357f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/ExtendingByAPI/implementPlayerExtension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ InputStates Class Usage
_______________________

InputStates is a thin wrapper around SDL2 input events. It has 4 main methods that can be used:
getInputStatus: Allows checking if a key is down or up, for keys used by engine. 3 buttons of mouse is included.
getInputEvents: Allows if a key state changed in last frame, for keys used by engine. 3 buttons of mouse is included.
getRawKeyStates: Allows to check all key states for current frame.
getMouseChange: Allows checking for relative or absolute position of the mouse, depending of the mode(Menu player uses absolute).
#. getInputStatus: Allows checking if a key is down or up, for keys used by engine. 3 buttons of mouse is included.
#. getInputEvents: Allows if a key state changed in last frame, for keys used by engine. 3 buttons of mouse is included.
#. getRawKeyStates: Allows to check all key states for current frame.
#. getMouseChange: Allows checking for relative or absolute position of the mouse, depending of the mode(Menu player uses absolute).

Full list of supported keys can be checked from src/InputStates.h

.. _ActorInterface-enableDynamicDiscovery:

Expand Down

0 comments on commit 566357f

Please sign in to comment.