vengine  0.0.1
3D graphics engine
Loading...
Searching...
No Matches
ven::KeyMappings Struct Reference

#include <EventManager.hpp>

+ Collaboration diagram for ven::KeyMappings:

Public Attributes

uint16_t moveLeft = GLFW_KEY_A
 
uint16_t moveRight = GLFW_KEY_D
 
uint16_t moveForward = GLFW_KEY_W
 
uint16_t moveBackward = GLFW_KEY_S
 
uint16_t moveUp = GLFW_KEY_SPACE
 
uint16_t moveDown = GLFW_KEY_LEFT_SHIFT
 
uint16_t lookLeft = GLFW_KEY_LEFT
 
uint16_t lookRight = GLFW_KEY_RIGHT
 
uint16_t lookUp = GLFW_KEY_UP
 
uint16_t lookDown = GLFW_KEY_DOWN
 
uint16_t toggleGui = GLFW_KEY_0
 

Detailed Description

Definition at line 20 of file EventManager.hpp.

Member Data Documentation

◆ lookDown

uint16_t ven::KeyMappings::lookDown = GLFW_KEY_DOWN

Definition at line 30 of file EventManager.hpp.

Referenced by ven::EventManager::moveCamera().

◆ lookLeft

uint16_t ven::KeyMappings::lookLeft = GLFW_KEY_LEFT

Definition at line 27 of file EventManager.hpp.

Referenced by ven::EventManager::moveCamera().

◆ lookRight

uint16_t ven::KeyMappings::lookRight = GLFW_KEY_RIGHT

Definition at line 28 of file EventManager.hpp.

Referenced by ven::EventManager::moveCamera().

◆ lookUp

uint16_t ven::KeyMappings::lookUp = GLFW_KEY_UP

Definition at line 29 of file EventManager.hpp.

Referenced by ven::EventManager::moveCamera().

◆ moveBackward

uint16_t ven::KeyMappings::moveBackward = GLFW_KEY_S

Definition at line 24 of file EventManager.hpp.

Referenced by ven::EventManager::moveCamera().

◆ moveDown

uint16_t ven::KeyMappings::moveDown = GLFW_KEY_LEFT_SHIFT

Definition at line 26 of file EventManager.hpp.

Referenced by ven::EventManager::moveCamera().

◆ moveForward

uint16_t ven::KeyMappings::moveForward = GLFW_KEY_W

Definition at line 23 of file EventManager.hpp.

Referenced by ven::EventManager::moveCamera().

◆ moveLeft

uint16_t ven::KeyMappings::moveLeft = GLFW_KEY_A

Definition at line 21 of file EventManager.hpp.

Referenced by ven::EventManager::moveCamera().

◆ moveRight

uint16_t ven::KeyMappings::moveRight = GLFW_KEY_D

Definition at line 22 of file EventManager.hpp.

Referenced by ven::EventManager::moveCamera().

◆ moveUp

uint16_t ven::KeyMappings::moveUp = GLFW_KEY_SPACE

Definition at line 25 of file EventManager.hpp.

Referenced by ven::EventManager::moveCamera().

◆ toggleGui

uint16_t ven::KeyMappings::toggleGui = GLFW_KEY_0

Definition at line 31 of file EventManager.hpp.

Referenced by ven::EventManager::handleEvents().


The documentation for this struct was generated from the following file: