DDraceNetwork Docs
|
#include <input.h>
Public Member Functions | |
virtual void | Init ()=0 |
virtual void | Shutdown () override=0 |
virtual int | Update ()=0 |
Public Member Functions inherited from IInput | |
virtual void | ConsumeEvents (std::function< void(const CEvent &Event)> Consumer) const =0 |
virtual void | Clear ()=0 |
virtual float | GetUpdateTime () const =0 |
virtual bool | ModifierIsPressed () const =0 |
virtual bool | ShiftIsPressed () const =0 |
virtual bool | AltIsPressed () const =0 |
virtual bool | KeyIsPressed (int Key) const =0 |
virtual bool | KeyPress (int Key, bool CheckCounter=false) const =0 |
const char * | KeyName (int Key) const |
virtual int | FindKeyByName (const char *pKeyName) const =0 |
virtual size_t | NumJoysticks () const =0 |
virtual IJoystick * | GetJoystick (size_t Index)=0 |
virtual IJoystick * | GetActiveJoystick ()=0 |
virtual void | SetActiveJoystick (size_t Index)=0 |
virtual vec2 | NativeMousePos () const =0 |
virtual bool | NativeMousePressed (int Index) const =0 |
virtual void | MouseModeRelative ()=0 |
virtual void | MouseModeAbsolute ()=0 |
virtual bool | MouseRelative (float *pX, float *pY)=0 |
virtual const std::vector< CTouchFingerState > & | TouchFingerStates () const =0 |
virtual std::string | GetClipboardText ()=0 |
virtual void | SetClipboardText (const char *pText)=0 |
virtual void | StartTextInput ()=0 |
virtual void | StopTextInput ()=0 |
virtual const char * | GetComposition () const =0 |
virtual bool | HasComposition () const =0 |
virtual int | GetCompositionCursor () const =0 |
virtual int | GetCompositionLength () const =0 |
virtual const char * | GetCandidate (int Index) const =0 |
virtual int | GetCandidateCount () const =0 |
virtual int | GetCandidateSelectedIndex () const =0 |
virtual void | SetCompositionWindowPosition (float X, float Y, float H)=0 |
virtual bool | GetDropFile (char *aBuf, int Len)=0 |
ECursorType | CursorRelative (float *pX, float *pY) |
Public Member Functions inherited from IInterface | |
IInterface () | |
virtual void | Shutdown () |
virtual | ~IInterface () |
Static Public Member Functions | |
static const char * | InterfaceName () |
Static Public Member Functions inherited from IInput | |
static const char * | InterfaceName () |
Additional Inherited Members | |
Public Types inherited from IInput | |
enum | { FLAG_PRESS = 1 << 0 , FLAG_RELEASE = 1 << 1 , FLAG_TEXT = 1 << 2 } |
enum | ECursorType { CURSOR_NONE , CURSOR_MOUSE , CURSOR_JOYSTICK } |
Protected Member Functions inherited from IInterface | |
IKernel * | Kernel () |
|
pure virtual |
Implemented in CInput.
|
inlinestatic |
|
overridepure virtual |
Reimplemented from IInterface.
Implemented in CInput.
|
pure virtual |
Implemented in CInput.