#include <input.h>
◆ anonymous enum
Enumerator |
---|
FLAG_PRESS | |
FLAG_RELEASE | |
FLAG_TEXT | |
◆ ECursorType
Enumerator |
---|
CURSOR_NONE | |
CURSOR_MOUSE | |
CURSOR_JOYSTICK | |
◆ AltIsPressed()
virtual bool IInput::AltIsPressed |
( |
| ) |
const |
|
pure virtual |
◆ Clear()
virtual void IInput::Clear |
( |
| ) |
|
|
pure virtual |
◆ ConsumeEvents()
virtual void IInput::ConsumeEvents |
( |
std::function< void(const CEvent &Event)> |
Consumer | ) |
const |
|
pure virtual |
◆ CursorRelative()
ECursorType IInput::CursorRelative |
( |
float * |
pX, |
|
|
float * |
pY |
|
) |
| |
|
inline |
◆ FindKeyByName()
virtual int IInput::FindKeyByName |
( |
const char * |
pKeyName | ) |
const |
|
pure virtual |
◆ GetActiveJoystick()
virtual IJoystick * IInput::GetActiveJoystick |
( |
| ) |
|
|
pure virtual |
◆ GetCandidate()
virtual const char * IInput::GetCandidate |
( |
int |
Index | ) |
const |
|
pure virtual |
◆ GetCandidateCount()
virtual int IInput::GetCandidateCount |
( |
| ) |
const |
|
pure virtual |
◆ GetCandidateSelectedIndex()
virtual int IInput::GetCandidateSelectedIndex |
( |
| ) |
const |
|
pure virtual |
◆ GetClipboardText()
virtual std::string IInput::GetClipboardText |
( |
| ) |
|
|
pure virtual |
◆ GetComposition()
virtual const char * IInput::GetComposition |
( |
| ) |
const |
|
pure virtual |
◆ GetCompositionCursor()
virtual int IInput::GetCompositionCursor |
( |
| ) |
const |
|
pure virtual |
◆ GetCompositionLength()
virtual int IInput::GetCompositionLength |
( |
| ) |
const |
|
pure virtual |
◆ GetDropFile()
virtual bool IInput::GetDropFile |
( |
char * |
aBuf, |
|
|
int |
Len |
|
) |
| |
|
pure virtual |
◆ GetJoystick()
virtual IJoystick * IInput::GetJoystick |
( |
size_t |
Index | ) |
|
|
pure virtual |
◆ GetUpdateTime()
virtual float IInput::GetUpdateTime |
( |
| ) |
const |
|
pure virtual |
- Returns
- Rolling average of the time in seconds between calls of the Update function.
Implemented in CInput.
◆ HasComposition()
virtual bool IInput::HasComposition |
( |
| ) |
const |
|
pure virtual |
◆ InterfaceName()
static const char * IInput::InterfaceName |
( |
| ) |
|
|
inlinestatic |
◆ KeyIsPressed()
virtual bool IInput::KeyIsPressed |
( |
int |
Key | ) |
const |
|
pure virtual |
◆ KeyName()
const char * IInput::KeyName |
( |
int |
Key | ) |
const |
|
inline |
◆ KeyPress()
virtual bool IInput::KeyPress |
( |
int |
Key, |
|
|
bool |
CheckCounter = false |
|
) |
| const |
|
pure virtual |
◆ ModifierIsPressed()
virtual bool IInput::ModifierIsPressed |
( |
| ) |
const |
|
pure virtual |
◆ MouseModeAbsolute()
virtual void IInput::MouseModeAbsolute |
( |
| ) |
|
|
pure virtual |
◆ MouseModeRelative()
virtual void IInput::MouseModeRelative |
( |
| ) |
|
|
pure virtual |
◆ MouseRelative()
virtual bool IInput::MouseRelative |
( |
float * |
pX, |
|
|
float * |
pY |
|
) |
| |
|
pure virtual |
◆ NativeMousePos()
virtual vec2 IInput::NativeMousePos |
( |
| ) |
const |
|
pure virtual |
◆ NativeMousePressed()
virtual bool IInput::NativeMousePressed |
( |
int |
Index | ) |
const |
|
pure virtual |
◆ NumJoysticks()
virtual size_t IInput::NumJoysticks |
( |
| ) |
const |
|
pure virtual |
◆ SetActiveJoystick()
virtual void IInput::SetActiveJoystick |
( |
size_t |
Index | ) |
|
|
pure virtual |
◆ SetClipboardText()
virtual void IInput::SetClipboardText |
( |
const char * |
pText | ) |
|
|
pure virtual |
◆ SetCompositionWindowPosition()
virtual void IInput::SetCompositionWindowPosition |
( |
float |
X, |
|
|
float |
Y, |
|
|
float |
H |
|
) |
| |
|
pure virtual |
◆ ShiftIsPressed()
virtual bool IInput::ShiftIsPressed |
( |
| ) |
const |
|
pure virtual |
◆ StartTextInput()
virtual void IInput::StartTextInput |
( |
| ) |
|
|
pure virtual |
◆ StopTextInput()
virtual void IInput::StopTextInput |
( |
| ) |
|
|
pure virtual |
◆ TouchFingerStates()
Returns a vector of the states of all touch fingers currently being pressed down on touch devices. Note that this only contains fingers which are pressed down, i.e. released fingers are never stored. The order of the fingers in this vector is based on the order in which the fingers where pressed.
- Returns
- vector of all touch finger states
Implemented in CInput.
The documentation for this class was generated from the following file: