vengine  0.1.0
3D graphics engine made with Vulkan
Loading...
Searching...
No Matches
ven::KeyboardController::KeyMappings Struct Reference

#include <KeyboardController.hpp>

+ Collaboration diagram for ven::KeyboardController::KeyMappings:

Public Attributes

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

Detailed Description

Definition at line 18 of file KeyboardController.hpp.

Member Data Documentation

◆ lookDown

int ven::KeyboardController::KeyMappings::lookDown = GLFW_KEY_DOWN

Definition at line 28 of file KeyboardController.hpp.

Referenced by ven::KeyboardController::moveInPlaneXZ().

◆ lookLeft

int ven::KeyboardController::KeyMappings::lookLeft = GLFW_KEY_LEFT

Definition at line 25 of file KeyboardController.hpp.

Referenced by ven::KeyboardController::moveInPlaneXZ().

◆ lookRight

int ven::KeyboardController::KeyMappings::lookRight = GLFW_KEY_RIGHT

Definition at line 26 of file KeyboardController.hpp.

Referenced by ven::KeyboardController::moveInPlaneXZ().

◆ lookUp

int ven::KeyboardController::KeyMappings::lookUp = GLFW_KEY_UP

Definition at line 27 of file KeyboardController.hpp.

Referenced by ven::KeyboardController::moveInPlaneXZ().

◆ moveBackward

int ven::KeyboardController::KeyMappings::moveBackward = GLFW_KEY_S

Definition at line 22 of file KeyboardController.hpp.

Referenced by ven::KeyboardController::moveInPlaneXZ().

◆ moveDown

int ven::KeyboardController::KeyMappings::moveDown = GLFW_KEY_LEFT_SHIFT

Definition at line 24 of file KeyboardController.hpp.

Referenced by ven::KeyboardController::moveInPlaneXZ().

◆ moveForward

int ven::KeyboardController::KeyMappings::moveForward = GLFW_KEY_W

Definition at line 21 of file KeyboardController.hpp.

Referenced by ven::KeyboardController::moveInPlaneXZ().

◆ moveLeft

int ven::KeyboardController::KeyMappings::moveLeft = GLFW_KEY_A

Definition at line 19 of file KeyboardController.hpp.

Referenced by ven::KeyboardController::moveInPlaneXZ().

◆ moveRight

int ven::KeyboardController::KeyMappings::moveRight = GLFW_KEY_D

Definition at line 20 of file KeyboardController.hpp.

Referenced by ven::KeyboardController::moveInPlaneXZ().

◆ moveUp

int ven::KeyboardController::KeyMappings::moveUp = GLFW_KEY_SPACE

Definition at line 23 of file KeyboardController.hpp.

Referenced by ven::KeyboardController::moveInPlaneXZ().


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