Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | List of all members
ExtendedInput Class Reference
Inheritance diagram for ExtendedInput:

Static Public Member Functions

static bool DetectKeyDown (List< KeyCode > keyValues, out KeyCodeExtended key)
 Returns true if there is a key down during the frame the user start pressing down. More...
 
static bool GetKey (KeyCodeExtended key)
 Returns true while the user holds down the key identified by name. Think auto fire. More...
 
static bool GetKeyDown (KeyCodeExtended key)
 Returns true during the frame the user starts pressing down the key identified by name. More...
 
static bool GetKeyUp (KeyCodeExtended key)
 Returns true during the frame the user releases the key identified by name. More...
 

Member Function Documentation

static bool ExtendedInput.DetectKeyDown ( List< KeyCode >  keyValues,
out KeyCodeExtended  key 
)
inlinestatic

Returns true if there is a key down during the frame the user start pressing down.

Parameters
keyKey pressed
Returns
static bool ExtendedInput.GetKey ( KeyCodeExtended  key)
inlinestatic

Returns true while the user holds down the key identified by name. Think auto fire.

Parameters
key
Returns
static bool ExtendedInput.GetKeyDown ( KeyCodeExtended  key)
inlinestatic

Returns true during the frame the user starts pressing down the key identified by name.

Parameters
key
Returns
static bool ExtendedInput.GetKeyUp ( KeyCodeExtended  key)
inlinestatic

Returns true during the frame the user releases the key identified by name.

Parameters
key
Returns

The documentation for this class was generated from the following file: