#include <inputserver.h>
Public Member Functions | |
| Input (EType t=eUnknown, TInputCode c=0, int i=-1) | |
| this initializes values indicating an invalid input event | |
| bool | KeyPress () const |
| returns true if the input represents a key press event | |
| bool | KeyRelease () const |
| returns true if the input represents a key release event | |
Public Attributes | |
| EType | type |
| this indicates the input data type | |
| TInputCode | code |
| the IC_ code of the button or the axis (see inputconst.h) | |
| int | id |
| this is a user defined value the Input event evaluated to, or -1 to indicate a raw Input event. | |
| union { | |
| long l | |
| this is used to encode a button event. | |
| float f | |
| this is used to encode a position on an axis. | |
| } | data |
| union for additional data | |
Definition at line 102 of file inputserver.h.
|
||||||||||||||||
|
this initializes values indicating an invalid input event
Definition at line 130 of file inputserver.h. |
|
|
returns true if the input represents a key press event
Definition at line 134 of file inputserver.h. References data. Referenced by SoccerInput::ProcessInput(). |
|
|
returns true if the input represents a key release event
Definition at line 137 of file inputserver.h. References data. |
|
|
the IC_ code of the button or the axis (see inputconst.h)
Definition at line 109 of file inputserver.h. Referenced by MouseSDL::EventFilter(), TimerSDL::GetInput(), kerosin::InputServer::GetInput(), and kerosin::InputServer::Invoke(). |
|
|
union for additional data
Referenced by MouseSDL::EventFilter(), KeyboardSDL::EventFilter(), TimerSDL::GetInput(), kerosin::InputServer::GetInput(), kerosin::InputServer::Invoke(), KeyPress(), KeyRelease(), and kerosin::InputControl::StartCycle(). |
|
|
this is used to encode a position on an axis.
Definition at line 125 of file inputserver.h. |
|
|
this is a user defined value the Input event evaluated to, or -1 to indicate a raw Input event.
Definition at line 114 of file inputserver.h. Referenced by kerosin::InputServer::GetInput(), kerosin::InputServer::Invoke(), SoccerInput::ProcessInput(), and kerosin::InputControl::StartCycle(). |
|
|
this is used to encode a button event. currently only 1 for 'pressed' and 0 for 'released' are used Definition at line 122 of file inputserver.h. |
|
|
this indicates the input data type
Definition at line 106 of file inputserver.h. Referenced by TimerSDL::GetInput(), kerosin::InputServer::GetInput(), and kerosin::InputServer::Invoke(). |
1.4.4