DDraceNetwork Docs
IEngineInput Class Referenceabstract

#include <input.h>

Inheritance diagram for IEngineInput:
[legend]
Collaboration diagram for IEngineInput:
[legend]

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) const =0
 
virtual const char * KeyName (int Key) const =0
 
virtual int FindKeyByName (const char *pKeyName) const =0
 
virtual size_t NumJoysticks () const =0
 
virtual IJoystickGetJoystick (size_t Index)=0
 
virtual IJoystickGetActiveJoystick ()=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 void ClearTouchDeltas ()=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
IKernelKernel ()
 

Member Function Documentation

◆ Init()

virtual void IEngineInput::Init ( )
pure virtual

Implemented in CInput.

◆ InterfaceName()

static const char * IEngineInput::InterfaceName ( )
inlinestatic

◆ Shutdown()

virtual void IEngineInput::Shutdown ( )
overridepure virtual

Reimplemented from IInterface.

Implemented in CInput.

◆ Update()

virtual int IEngineInput::Update ( )
pure virtual

Implemented in CInput.


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