SGCT master (487fac4)
Simple Graphics Cluster Toolkit
Loading...
Searching...
No Matches
modifiers.h
Go to the documentation of this file.
1/*****************************************************************************************
2 * SGCT *
3 * Simple Graphics Cluster Toolkit *
4 * *
5 * Copyright (c) 2012-2026 *
6 * For conditions of distribution and use, see copyright notice in LICENSE.md *
7 ****************************************************************************************/
8
9#ifndef __SGCT__MODIFIERS__H__
10#define __SGCT__MODIFIERS__H__
11
12// abock(2019-10-02); The values here are hardcoded as I don't want to pull in the
13// entirety of GLFW in this header just for the definitions. And they most likely will
14// not change anytime soon anyway (famous last words)
15
16namespace sgct {
17
18enum class Modifier {
19 Shift = 0x0001, // = GLFW_MOD_SHIFT;
20 Control = 0x0002, // = GLFW_MOD_CONTROL;
21 Alt = 0x0004, // = GLFW_MOD_ALT;
22 Super = 0x0008 // = GLFW_MOD_SUPER;
23};
24
25} // namespace sgct
26
27#endif // __SGCT__MODIFIERS__H__
Definition actions.h:16
Modifier
Definition modifiers.h:18
@ Super
Definition modifiers.h:22
@ Shift
Definition modifiers.h:19
@ Control
Definition modifiers.h:20
@ Alt
Definition modifiers.h:21