matf-rg-engine 1.0.0
Base for project for the Computer Graphics course at Faculty of Mathematics, University of Belgrade
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations
Input.hpp File Reference

Defines the Input class that serves as the interface handling user input via keyboard and mouse. More...

#include <string_view>
Include dependency graph for Input.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  engine::platform::Key
 Represents the state of the key in a given frame. More...
 
struct  engine::platform::MousePosition
 Represents mouse position in a given frame relative to the top left corner of the screen. More...
 

Namespaces

namespace  engine
 
namespace  engine::platform
 

Enumerations

enum  engine::platform::KeyId {
  engine::platform::MOUSE_BUTTON_1 = 0 , engine::platform::MOUSE_BUTTON_2 , engine::platform::MOUSE_BUTTON_3 , engine::platform::MOUSE_BUTTON_4 ,
  engine::platform::MOUSE_BUTTON_5 , engine::platform::MOUSE_BUTTON_6 , engine::platform::MOUSE_BUTTON_7 , engine::platform::MOUSE_BUTTON_8 ,
  engine::platform::MOUSE_BUTTON_LAST , engine::platform::MOUSE_BUTTON_LEFT , engine::platform::MOUSE_BUTTON_RIGHT , engine::platform::MOUSE_BUTTON_MIDDLE ,
  engine::platform::KEY_SPACE , engine::platform::KEY_APOSTROPHE , engine::platform::KEY_COMMA , engine::platform::KEY_MINUS ,
  engine::platform::KEY_PERIOD , engine::platform::KEY_SLASH , engine::platform::KEY_0 , engine::platform::KEY_1 ,
  engine::platform::KEY_2 , engine::platform::KEY_3 , engine::platform::KEY_4 , engine::platform::KEY_5 ,
  engine::platform::KEY_6 , engine::platform::KEY_7 , engine::platform::KEY_8 , engine::platform::KEY_9 ,
  engine::platform::KEY_SEMICOLON , engine::platform::KEY_EQUAL , engine::platform::KEY_A , engine::platform::KEY_B ,
  engine::platform::KEY_C , engine::platform::KEY_D , engine::platform::KEY_E , engine::platform::KEY_F ,
  engine::platform::KEY_G , engine::platform::KEY_H , engine::platform::KEY_I , engine::platform::KEY_J ,
  engine::platform::KEY_K , engine::platform::KEY_L , engine::platform::KEY_M , engine::platform::KEY_N ,
  engine::platform::KEY_O , engine::platform::KEY_P , engine::platform::KEY_Q , engine::platform::KEY_R ,
  engine::platform::KEY_S , engine::platform::KEY_T , engine::platform::KEY_U , engine::platform::KEY_V ,
  engine::platform::KEY_W , engine::platform::KEY_X , engine::platform::KEY_Y , engine::platform::KEY_Z ,
  engine::platform::KEY_LEFT_BRACKET , engine::platform::KEY_BACKSLASH , engine::platform::KEY_RIGHT_BRACKET , engine::platform::KEY_GRAVE_ACCENT ,
  engine::platform::KEY_WORLD_1 , engine::platform::KEY_WORLD_2 , engine::platform::KEY_ESCAPE , engine::platform::KEY_ENTER ,
  engine::platform::KEY_TAB , engine::platform::KEY_BACKSPACE , engine::platform::KEY_INSERT , engine::platform::KEY_DELETE ,
  engine::platform::KEY_RIGHT , engine::platform::KEY_LEFT , engine::platform::KEY_DOWN , engine::platform::KEY_UP ,
  engine::platform::KEY_PAGE_UP , engine::platform::KEY_PAGE_DOWN , engine::platform::KEY_HOME , engine::platform::KEY_END ,
  engine::platform::KEY_CAPS_LOCK , engine::platform::KEY_SCROLL_LOCK , engine::platform::KEY_NUM_LOCK , engine::platform::KEY_PRINT_SCREEN ,
  engine::platform::KEY_PAUSE , engine::platform::KEY_F1 , engine::platform::KEY_F2 , engine::platform::KEY_F3 ,
  engine::platform::KEY_F4 , engine::platform::KEY_F5 , engine::platform::KEY_F6 , engine::platform::KEY_F7 ,
  engine::platform::KEY_F8 , engine::platform::KEY_F9 , engine::platform::KEY_F10 , engine::platform::KEY_F11 ,
  engine::platform::KEY_F12 , engine::platform::KEY_F13 , engine::platform::KEY_F14 , engine::platform::KEY_F15 ,
  engine::platform::KEY_F16 , engine::platform::KEY_F17 , engine::platform::KEY_F18 , engine::platform::KEY_F19 ,
  engine::platform::KEY_F20 , engine::platform::KEY_F21 , engine::platform::KEY_F22 , engine::platform::KEY_F23 ,
  engine::platform::KEY_F24 , engine::platform::KEY_F25 , engine::platform::KEY_KP_0 , engine::platform::KEY_KP_1 ,
  engine::platform::KEY_KP_2 , engine::platform::KEY_KP_3 , engine::platform::KEY_KP_4 , engine::platform::KEY_KP_5 ,
  engine::platform::KEY_KP_6 , engine::platform::KEY_KP_7 , engine::platform::KEY_KP_8 , engine::platform::KEY_KP_9 ,
  engine::platform::KEY_KP_DECIMAL , engine::platform::KEY_KP_DIVIDE , engine::platform::KEY_KP_MULTIPLY , engine::platform::KEY_KP_SUBTRACT ,
  engine::platform::KEY_KP_ADD , engine::platform::KEY_KP_ENTER , engine::platform::KEY_KP_EQUAL , engine::platform::KEY_LEFT_SHIFT ,
  engine::platform::KEY_LEFT_CONTROL , engine::platform::KEY_LEFT_ALT , engine::platform::KEY_LEFT_SUPER , engine::platform::KEY_RIGHT_SHIFT ,
  engine::platform::KEY_RIGHT_CONTROL , engine::platform::KEY_RIGHT_ALT , engine::platform::KEY_RIGHT_SUPER , engine::platform::KEY_MENU ,
  engine::platform::KEY_COUNT
}
 All the Keys that the engine can register. More...
 

Detailed Description

Defines the Input class that serves as the interface handling user input via keyboard and mouse.