The input system as the engine sees it, so it need not link to the implementation in the input package DLL.
More...
#include <deki/providers/IInputSystem.h>
|
| virtual | ~IInputSystem ()=default |
| virtual void | DispatchInput (Scene *scene, float x, float y, bool down, bool move, bool up)=0 |
| virtual void | DispatchKey (uint32_t key, bool down)=0 |
| virtual bool | DispatchPointer (int32_t screenX, int32_t screenY, bool down, bool move, bool up) |
| virtual void | DispatchStick (int stick, float x, float y) |
| virtual void | Initialize ()=0 |
| virtual bool | IsInitialized () const =0 |
| virtual bool | ShouldExit () const =0 |
| virtual void | Shutdown ()=0 |
| virtual void | Update ()=0 |
The input system as the engine sees it, so it need not link to the implementation in the input package DLL.
Coordinates are in world units (float); the implementation converts raw device pixels before they reach colliders.
◆ ~IInputSystem()
| virtual Deki::IInputSystem::~IInputSystem |
( |
| ) |
|
|
virtualdefault |
◆ DispatchInput()
| virtual void Deki::IInputSystem::DispatchInput |
( |
Scene * | scene, |
|
|
float | x, |
|
|
float | y, |
|
|
bool | down, |
|
|
bool | move, |
|
|
bool | up ) |
|
pure virtual |
◆ DispatchKey()
| virtual void Deki::IInputSystem::DispatchKey |
( |
uint32_t | key, |
|
|
bool | down ) |
|
pure virtual |
◆ DispatchPointer()
| virtual bool Deki::IInputSystem::DispatchPointer |
( |
int32_t | screenX, |
|
|
int32_t | screenY, |
|
|
bool | down, |
|
|
bool | move, |
|
|
bool | up ) |
|
inlinevirtual |
◆ DispatchStick()
| virtual void Deki::IInputSystem::DispatchStick |
( |
int | stick, |
|
|
float | x, |
|
|
float | y ) |
|
inlinevirtual |
◆ Initialize()
| virtual void Deki::IInputSystem::Initialize |
( |
| ) |
|
|
pure virtual |
◆ IsInitialized()
| virtual bool Deki::IInputSystem::IsInitialized |
( |
| ) |
const |
|
pure virtual |
◆ ShouldExit()
| virtual bool Deki::IInputSystem::ShouldExit |
( |
| ) |
const |
|
pure virtual |
◆ Shutdown()
| virtual void Deki::IInputSystem::Shutdown |
( |
| ) |
|
|
pure virtual |
◆ Update()
| virtual void Deki::IInputSystem::Update |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: