A structure to hold key bindings for various actions in the game. More...
#include <settings.h>
Public Attributes | |
int | up |
int | down |
int | left |
int | right |
int | jump |
int | crouch |
int | sprint |
int | menu |
int | flashlight |
int | validate |
int | interact |
int | fullscreen |
A structure to hold key bindings for various actions in the game.
This structure contains integer values representing the key codes for different actions that can be performed in the game. Each member of the structure corresponds to a specific action.
Keybinds::up |
The key code for moving up.
Keybinds::down |
The key code for moving down.
Keybinds::left |
The key code for moving left.
Keybinds::right |
The key code for moving right.
Keybinds::jump |
The key code for jumping.
Keybinds::crouch |
The key code for crouching.
Keybinds::sprint |
The key code for sprinting.
Keybinds::menu |
The key code for opening the menu.
Keybinds::flashlight |
The key code for toggling the flashlight.
Keybinds::validate |
The key code for validating an action.
Keybinds::interact |
The key code for interacting with objects.
Keybinds::fullscreen |
The key code for toggling fullscreen mode.