-
Notifications
You must be signed in to change notification settings - Fork 0
input_system::key_held
Paweł Waligóra edited this page May 4, 2024
·
2 revisions
A global C-style array, holding information about what keys are currently held.
Declared in input_system namespace in input_system.h file.
Meant to be read only. Modified only by input_system::key_callback() - set as key callback of opengl program.
Just read from input_system::key_held array. Index by key id. For example:
#include "input_system.h"
//...
input_system::key_held[GLFW_KEY_SPACE];- 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