TheAtlasEngine
 
Loading...
Searching...
No Matches
joystick_codes.hpp
1#pragma once
2#include <cstdint>
3
4namespace atlas::event {
5 enum JoystickCodes : int {
6 Joystick1 = 0,
7
8 Joystick2 = 1,
9
10 Joystick3 = 2,
11
12 Joystick4 = 3,
13
14 Joystick5 = 4,
15
16 Joystick6 = 5,
17
18 Joystick7 = 6,
19
20 Joystick8 = 7,
21
22 Joystick9 = 8,
23
24 Joystick10 = 9,
25
26 Joystick11 = 10,
27
28 Joystick12 = 11,
29
30 Joystick13 = 12,
31
32 Joystick14 = 13,
33
34 Joystick15 = 14,
35
36 Joystick16 = 15,
37
38 JoystickLAST = Joystick16,
39 };
40}; // namespace atlas
41
42inline constexpr int joystick_1 = ::atlas::event::JoystickCodes::Joystick1;
43inline constexpr int joystick_2 = ::atlas::event::JoystickCodes::Joystick2;
44inline constexpr int joystick_3 = ::atlas::event::JoystickCodes::Joystick3;
45inline constexpr int joystick_4 = ::atlas::event::JoystickCodes::Joystick4;
46inline constexpr int joystick_5 = ::atlas::event::JoystickCodes::Joystick5;
47inline constexpr int joystick_6 = ::atlas::event::JoystickCodes::Joystick6;
48inline constexpr int joystick_7 = ::atlas::event::JoystickCodes::Joystick7;
49inline constexpr int joystick_8 = ::atlas::event::JoystickCodes::Joystick8;
50inline constexpr int joystick_9 = ::atlas::event::JoystickCodes::Joystick9;
51inline constexpr int joystick_10 = ::atlas::event::JoystickCodes::Joystick10;
52inline constexpr int joystick_11 = ::atlas::event::JoystickCodes::Joystick11;
53inline constexpr int joystick_12 = ::atlas::event::JoystickCodes::Joystick12;
54inline constexpr int joystick_13 = ::atlas::event::JoystickCodes::Joystick13;
55inline constexpr int joystick_14 = ::atlas::event::JoystickCodes::Joystick14;
56inline constexpr int joystick_15 = ::atlas::event::JoystickCodes::Joystick15;
57inline constexpr int joystick_16 = ::atlas::event::JoystickCodes::Joystick16;
58inline constexpr int joystick_last =
59 ::atlas::event::JoystickCodes::JoystickLAST;