MyGL
|
#include "mygl_export.h"
#include <glm/glm.hpp>
Go to the source code of this file.
Classes | |
struct | MouseInfo |
Mouse informations for events involving mouse buttons. More... | |
struct | Event |
Struct for representing events and informations associated with them. More... | |
struct | Event::Modifiers |
A struct for storing the state of the keyboard modifier keys. More... | |
Namespaces | |
namespace | my |
Namespace containing every class, function and enum of the library. | |
Enumerations | |
enum class | EventType { keyPressed , keyReleased , keyRepeated , mouseMoved , mouseButtonPressed , mouseButtonReleased , mouseScrolled , cursorEntered , cursorLeft , windowResized , windowShouldClose , unknown } |
Types that an event can have. More... | |
enum class | Key { unknown = -1 , space = 32 , apostrophe = 39 , comma = 44 , minus , period , slash , n0 , n1 , n2 , n3 , n4 , n5 , n6 , n7 , n8 , n9 , semicolon = 59 , equal = 61 , a = 65 , b , c , d , e , f , g , h , i , j , k , l , m , n , o , p , q , r , s , t , u , v , w , x , y , z , left_bracket , backslash , right_bracket , grave_accent = 96 , non_us1 = 161 , non_us2 , escape = 256 , enter , tab , backspace , insert , del , right , left , down , up , page_up , page_down , home , end , caps_lock = 280 , scroll_lock , num_lock , print_screen , pause , f1 = 290 , f2 , f3 , f4 , f5 , f6 , f7 , f8 , f9 , f10 , f11 , f12 , f13 , f14 , f15 , f16 , f17 , f18 , f19 , f20 , f21 , f22 , f23 , f24 , f25 , np0 = 320 , np1 , np2 , np3 , np4 , np5 , np6 , np7 , np8 , np9 , np_dot , np_divide , np_multiply , np_substract , np_add , np_enter , np_equal , left_shift = 340 , left_ctrl , left_alt , left_os , right_shift , right_ctrl , right_alt , right_os , menu } |
Key codes for every key of a fullsize US qwerty layout. More... | |
enum class | MouseButton { left , right , middle , extra_1 , extra_2 , extra_3 , extra_4 , extra_5 , none } |
Codes for mouse buttons (used in mouseButtonPressed / Released events) More... | |