5 #include "input/inputmapping.h"
7 #include "ui/actionkeymapping.h"
8 #include "utils/statemachine/trigger.h"
10 #include "property/property.h"
25 void resizeEvent(
const unsigned int width,
const unsigned int height);
26 void keyCallback(
int key,
int scancode,
int action,
int mods);
27 void mouseButtonCallback(
int button,
int action,
int mods);
28 void update(
float deltaSec);
34 std::vector<ActionKeyMapping*> m_actions;
35 bool m_centerCrosshair;
36 glm::vec2 m_lastMousePos;
39 int m_cursorMaxDistance;
42 void toggleControls();
45 void processMouseUpdate(
float deltaSec);
46 void processHMDUpdate();
49 void processFireActions();
50 void processMoveActions();
51 void processRotateActions();
52 void processTargetSelectActions();
57 void addActionsToVector();
58 void setupJoystickControls();
59 void retrieveInputValues();
61 float m_currentTimePressed;
86 glm::vec3 m_moveUpdate;
87 glm::vec3 m_rotateUpdate;
91 void placeCrossHair(
double winX,
double winY);
Definition: worldobject.h:43
Definition: gamestate.h:20
Definition: actionkeymapping.h:9