SGCT master (487fac4)
Simple Graphics Cluster Toolkit
Loading...
Searching...
No Matches
joystick.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__JOYSTICK__H__
10#define __SGCT__JOYSTICK__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 Joystick {
19 Joystick1 = 0, // = GLFW_JOYSTICK_1;
20 Joystick2 = 1, // = GLFW_JOYSTICK_2;
21 Joystick3 = 2, // = GLFW_JOYSTICK_3;
22 Joystick4 = 3, // = GLFW_JOYSTICK_4;
23 Joystick5 = 4, // = GLFW_JOYSTICK_5;
24 Joystick6 = 5, // = GLFW_JOYSTICK_6;
25 Joystick7 = 6, // = GLFW_JOYSTICK_7;
26 Joystick8 = 7, // = GLFW_JOYSTICK_8;
27 Joystick9 = 8, // = GLFW_JOYSTICK_9;
28 Joystick10 = 9, // = GLFW_JOYSTICK_10;
29 Joystick11 = 10, // = GLFW_JOYSTICK_11;
30 Joystick12 = 11, // = GLFW_JOYSTICK_12;
31 Joystick13 = 12, // = GLFW_JOYSTICK_13;
32 Joystick14 = 13, // = GLFW_JOYSTICK_14;
33 Joystick15 = 14, // = GLFW_JOYSTICK_15;
34 Joystick16 = 15 // = GLFW_JOYSTICK_16;
35};
36
37} // namespace sgct
38
39#endif // __SGCT__JOYSTICK__H__
Definition actions.h:16
Joystick
Definition joystick.h:18
@ Joystick1
Definition joystick.h:19
@ Joystick16
Definition joystick.h:34
@ Joystick11
Definition joystick.h:29
@ Joystick12
Definition joystick.h:30
@ Joystick7
Definition joystick.h:25
@ Joystick15
Definition joystick.h:33
@ Joystick10
Definition joystick.h:28
@ Joystick4
Definition joystick.h:22
@ Joystick13
Definition joystick.h:31
@ Joystick2
Definition joystick.h:20
@ Joystick14
Definition joystick.h:32
@ Joystick5
Definition joystick.h:23
@ Joystick8
Definition joystick.h:26
@ Joystick6
Definition joystick.h:24
@ Joystick3
Definition joystick.h:21
@ Joystick9
Definition joystick.h:27