InputController
#include "Core/Input/InputController.h"
Public Functions
Name | |
---|---|
InputController() | |
void | bindAction(const char * name, EKeyState state, KeyCallback fn)<br>See InputBindings.cpp file for default actions. |
void | bindAxis(const char * name, AxisCallback fn) |
void | triggerAction(const char * name, EKeyState state)<br>Make action active. |
Friends
Name | |
---|---|
class | InputManager |
Public Functions Documentation
function InputController
cpp
InputController()
InputController()
function bindAction
cpp
void bindAction(
const char * name,
EKeyState state,
KeyCallback fn
)
void bindAction(
const char * name,
EKeyState state,
KeyCallback fn
)
See InputBindings.cpp file for default actions.
function bindAxis
cpp
void bindAxis(
const char * name,
AxisCallback fn
)
void bindAxis(
const char * name,
AxisCallback fn
)
function triggerAction
cpp
void triggerAction(
const char * name,
EKeyState state
)
void triggerAction(
const char * name,
EKeyState state
)
Make action active.
Friends
friend InputManager
cpp
friend class InputManager(
InputManager
);
friend class InputManager(
InputManager
);
Updated on 2024-11-06 at 20:16:53 +0000