-
Notifications
You must be signed in to change notification settings - Fork 0
input_system::key_events
Paweł Waligóra edited this page May 22, 2024
·
2 revisions
A global 2D array of engine::event_subscription_lists. Indexed by GLFW_KEY_...
or GLFW_MOUSE_...
and GLFW_PRESS
or GLFW_RELEASE
.
Example: all events from input_system::key_events[GLFW_KEY_A][GLFW_PRESS]
Will be called when A
is pressed on the keyboard.
For handling engine::event_subscription_list refer to it's site.
Usage of this array is unadvised. Use input_system::key_bind instead.
#include "input_system.h"
- 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