-
Notifications
You must be signed in to change notification settings - Fork 0
input_system::axis_state()
Paweł Waligóra edited this page May 7, 2024
·
1 revision
Get state of a hypothetical input_system::axis made out of plus_key and minus_key.
Declared in axis.h
file.
Defined in axis.cpp
file.
Provide GLFW_KEY_...
as arguments.
You can make an improvised input_system::double_axis out of this:
#include "axis.h"
glm::vec2 db_axis = glm::vec2(input_system::axis_state(GLFW_KEY_UP, GLFW_KEY_DOWN), input_system::axis_state(GLFW_KEY_RIGHT, GLFW_KEY_LEFT));
- engine
- scripts_system
- scene_loader
- time_system
-
input_system
- input_system::key_held
- input_system::key_events
- input_system::subscribe() (deprecated)
- input_system::axis_state()
- input_system::key_bind
- input_system::axis
- input_system::double_axis
- input_system::triple_axis
- input_system::axis2
- input_system::double_axis2
- input_system::triple_axis2
- input_system::axis-choice
- renderer
- physics
- ui_system
- game