11 #include "SimpleGL_Export.h" 13 #include <GLFW/glfw3.h> 479 int bitmask =
static_cast<int> (left) | static_cast<int> (right);
480 return static_cast<Modifier> (bitmask);
Equivalent to GLFW_KEY_3.
Equivalent to GLFW_KEY_LEFT_ALT.
Equivalent to GLFW_KEY_KP_ENTER.
Equivalent to GLFW_KEY_WORLD_2.
Equivalent to GLFW_KEY_BACKSPACE.
Equivalent to GLFW_KEY_Q.
Equivalent to GLFW_KEY_ESCAPE.
Equivalent to GLFW_KEY_U.
MouseButton
This enum wraps the GLFW mouse buttons.
Equivalent to GLFW_KEY_RIGHT.
Equivalent to MOUSE_BUTTON_1.
Equivalent to GLFW_KEY_LEFT_SUPER.
Equivalent to GLFW_KEY_J.
Equivalent to GLFW_KEY_F20.
Equivalent to GLFW_KEY_DELETE.
Equivalent to GLFW_KEY_F24.
Equivalent to GLFW_KEY_F14.
Equivalent to GLFW_KEY_SCROLL_LOCK.
Key
This enum wraps the GLFW keys.
Equivalent to GLFW_KEY_F19.
Equivalent to GLFW_KEY_0.
Equivalent to MOUSE_BUTTON_8.
Equivalent to GLFW_KEY_R.
Equivalent to GLFW_KEY_F25.
Equivalent to GLFW_MOUSE_BUTTON_1.
Equivalent to GLFW_KEY_F13.
Equivalent to GLFW_MOUSE_BUTTON_4.
Equivalent to GLFW_KEY_KP_SUBTRACT.
Equivalent to GLFW_KEY_B.
Equivalent to GLFW_MOUSE_BUTTON_3.
Equivalent to GLFW_KEY_F23.
Equivalent to GLFW_MOD_SHIFT.
Equivalent to GLFW_KEY_LEFT_SHIFT.
Equivalent to GLFW_KEY_F15.
Equivalent to GLFW_KEY_S.
Equivalent to GLFW_PRESS.
Equivalent to GLFW_KEY_F9.
Equivalent to GLFW_KEY_2.
Equivalent to GLFW_KEY_6.
Equivalent to GLFW_KEY_TAB.
Equivalent to GLFW_KEY_SLASH.
Equivalent to GLFW_KEY_F6.
Equivalent to GLFW_KEY_NUM_LOCK.
Equivalent to GLFW_KEY_KP_5.
Equivalent to GLFW_KEY_8.
Equivalent to GLFW_KEY_KP_9.
Equivalent to GLFW_KEY_X.
Equivalent to GLFW_MOUSE_BUTTON_5.
Equivalent to GLFW_KEY_I.
Equivalent to GLFW_KEY_F10.
Equivalent to GLFW_KEY_F5.
Equivalent to GLFW_KEY_F4.
Equivalent to GLFW_KEY_E.
Equivalent to GLFW_KEY_PRINT_SCREEN.
Equivalent to GLFW_KEY_9.
Equivalent to GLFW_KEY_KP_DIVIDE.
Equivalent to GLFW_KEY_KP_2.
Modifier
This enum wraps the GLFW modifier bits.
Generic namespace for the SimpleGL framework.
Equivalent to GLFW_KEY_KP_0.
Equivalent to GLFW_KEY_F18.
Equivalent to GLFW_KEY_D.
Equivalent to MOUSE_BUTTON_3.
Equivalent to GLFW_MOUSE_BUTTON_8.
Equivalent to GLFW_KEY_KP_EQUAL.
Equivalent to GLFW_MOUSE_BUTTON_6.
Equivalent to GLFW_KEY_7.
Equivalent to GLFW_KEY_PAUSE.
Equivalent to GLFW_KEY_T.
Equivalent to GLFW_KEY_F21.
Equivalent to GLFW_KEY_F17.
Equivalent to GLFW_KEY_APOSTROPHE.
Equivalent to GLFW_KEY_DOWN.
Equivalent to GLFW_KEY_CAPS_LOCK.
Equivalent to GLFW_KEY_COMMA.
Equivalent to GLFW_KEY_PAGE_UP.
Equivalent to GLFW_KEY_W.
Equivalent to GLFW_KEY_LEFT.
Equivalent to GLFW_KEY_EQUAL.
Equivalent to GLFW_KEY_KP_8.
Equivalent to GLFW_KEY_KP_MULTIPLY.
Equivalent to GLFW_MOUSE_BUTTON_2.
Equivalent to GLFW_KEY_F3.
Equivalent to GLFW_KEY_Z.
Equivalent to GLFW_KEY_RIGHT_SHIFT.
Equivalent to GLFW_KEY_M.
Equivalent to GLFW_KEY_F1.
Equivalent to GLFW_KEY_L.
Equivalent to GLFW_KEY_5.
Equivalent to MOUSE_BUTTON_2.
Equivalent to GLFW_KEY_C.
Equivalent to GLFW_MOD_SUPER.
Equivalent to GLFW_KEY_KP_4.
Equivalent to GLFW_REPEAT.
Equivalent to GLFW_KEY_MENU.
Equivalent to GLFW_KEY_RIGHT_ALT.
Equivalent to GLFW_KEY_KP_ADD.
Equivalent to GLFW_KEY_RIGHT_SUPER.
Equivalent to GLFW_KEY_PERIOD.
Equivalent to GLFW_KEY_N.
Equivalent to GLFW_KEY_UP.
Equivalent to GLFW_KEY_F16.
Modifier operator|(Modifier left, Modifier right)
Overloaded OR operator for the modifier bit.
Equivalent to GLFW_KEY_RIGHT_CONTROL.
Equivalent to GLFW_KEY_KP_DECIMAL.
Equivalent to GLFW_KEY_1.
Equivalent to GLFW_KEY_F12.
Equivalent to GLFW_KEY_KP_7.
Equivalent to GLFW_KEY_SPACE.
Equivalent to GLFW_MOUSE_BUTTON_7.
Equivalent to GLFW_KEY_PAGE_DOWN.
Equivalent to GLFW_KEY_F.
Equivalent to GLFW_KEY_F2.
Equivalent to GLFW_KEY_Y.
Equivalent to GLFW_KEY_END.
Action
This enum wraps the GLFW actions.
Equivalent to GLFW_KEY_O.
Equivalent to GLFW_KEY_LEFT_CONTROL.
Equivalent to GLFW_KEY_A.
Equivalent to GLFW_KEY_F22.
Equivalent to GLFW_KEY_KP_1.
Equivalent to GLFW_KEY_WORLD_1.
Equivalent to GLFW_KEY_UNKNOWN.
Equivalent to GLFW_KEY_RIGHT_BRACKET.
Equivalent to GLFW_KEY_KP_3.
Equivalent to GLFW_KEY_P.
Equivalent to GLFW_KEY_V.
Equivalent to GLFW_KEY_F8.
Equivalent to GLFW_MOD_ALT.
Equivalent to GLFW_KEY_G.
Equivalent to GLFW_KEY_LEFT_BRACKET.
Equivalent to GLFW_KEY_K.
Equivalent to GLFW_KEY_GRAVE_ACCENT.
Equivalent to GLFW_KEY_HOME.
Equivalent to GLFW_KEY_BACKSLASH.
Equivalent to GLFW_RELEASE.
Equivalent to GLFW_KEY_H.
Equivalent to GLFW_KEY_ENTER.
Equivalent to GLFW_KEY_4.
Equivalent to GLFW_KEY_SEMICOLON.
Equivalent to GLFW_KEY_INSERT.
Equivalent to GLFW_KEY_F11.
Equivalent to GLFW_KEY_KP_6.
Equivalent to GLFW_KEY_F7.
Equivalent to GLFW_MOD_CONTROL.
Equivalent to GLFW_KEY_MINUS.