|
using | EventCallbackFn = std::function<void(Event&)> |
|
|
| Input (InputData &inputDatRef) |
|
virtual void | SetEventCallback (const EventCallbackFn &callback, Window *window)=0 |
|
void | SetGamepadMapping () |
|
|
static bool | IsKeyPressed (int keycode) |
|
static bool | IsMouseButtonPressed (int button) |
|
static bool | IsMouseButtonReleased (int button) |
|
static bool | IsControllerButtonPressed (int button, int cID) |
|
static float | ControllerAxisPivotVal (int axis, int cID) |
|
static std::pair< float, float > | GetMousePosition () |
|
static float | GetMouseX () |
|
static float | GetMouseY () |
|
static InputRegisteringAPI | GetAPI () |
|
static void | DeInit () |
|
static void | Init () |
|
static std::shared_ptr< Input > | GetInputInstance () |
|
static void | DisplayControllerDevices () |
|
|
virtual bool | IsKeyPressedImpl (int keycode)=0 |
|
virtual bool | IsMouseButtonPressedImpl (int button)=0 |
|
virtual bool | IsMouseButtonReleasedImpl (int button)=0 |
|
virtual bool | IsControllerButtonPressedImpl (int button, int cID)=0 |
|
virtual float | ControllerAxisPivotValImpl (int axis, int cID)=0 |
|
virtual std::pair< float, float > | GetMousePositionImpl ()=0 |
|
virtual float | GetMouseXImpl ()=0 |
|
virtual float | GetMouseYImpl ()=0 |
|
const std::list< std::shared_ptr< ControllerDevice > > & | GetControllerDevices () const |
|
void | AddControllerDevice (std::shared_ptr< ControllerDevice > device) |
|
|
static void | SetConnectedJoySticks () |
|
The documentation for this class was generated from the following files:
- Karma/src/Karma/Input.h
- Karma/src/Karma/Input.cpp