Indicates the states of a hardware key. More...
Public Member Functions | |
KeyState (int value) | |
Constructs a KeyState of an integer value. | |
KeyState (KeyState enum_) | |
Constructs a copy of a KeyState object. | |
int | getValue () |
Returns the integer value of the enumeration constant. | |
final int | swigValue () |
Returns the integer value of the enumeration constant. | |
Static Public Member Functions | |
static KeyState | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. | |
static KeyState | toEnum (int value) |
Converts an integer value to the matching enumeration constant. | |
Public Attributes | |
Pressed =(0) | |
The key is pressed. | |
Released =(1) | |
The key is released. | |
Indicates the states of a hardware key.
Constructs a KeyState of an integer value.
value | Integer value to convert to enumeration constant. |
Constructs a copy of a KeyState object.
enum_ | KeyState to be copy constructed. |
int getValue | ( | ) |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.