Gosu
Buttons.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Gosu/Platform.hpp>
4 
5 namespace Gosu
6 {
11  {
13  KB_ESCAPE = 41,
14  KB_F1 = 58,
15  KB_F2 = 59,
16  KB_F3 = 60,
17  KB_F4 = 61,
18  KB_F5 = 62,
19  KB_F6 = 63,
20  KB_F7 = 64,
21  KB_F8 = 65,
22  KB_F9 = 66,
23  KB_F10 = 67,
24  KB_F11 = 68,
25  KB_F12 = 69,
26  KB_0 = 39,
27  KB_1 = 30,
28  KB_2 = 31,
29  KB_3 = 32,
30  KB_4 = 33,
31  KB_5 = 34,
32  KB_6 = 35,
33  KB_7 = 36,
34  KB_8 = 37,
35  KB_9 = 38,
36  KB_TAB = 43,
37  KB_RETURN = 40,
38  KB_SPACE = 44,
43  KB_LEFT_ALT = 226,
44  KB_RIGHT_ALT = 230,
45  KB_LEFT_META = 227,
48  KB_LEFT = 80,
49  KB_RIGHT = 79,
50  KB_UP = 82,
51  KB_DOWN = 81,
52  KB_HOME = 74,
53  KB_END = 77,
54  KB_INSERT = 73,
55  KB_DELETE = 76,
56  KB_PAGE_UP = 75,
58  KB_ENTER = 88,
60  KB_MINUS = 45,
61  KB_EQUALS = 46,
67  KB_COMMA = 54,
68  KB_PERIOD = 55,
69  KB_SLASH = 49,
70  KB_A = 4,
71  KB_B = 5,
72  KB_C = 6,
73  KB_D = 7,
74  KB_E = 8,
75  KB_F = 9,
76  KB_G = 10,
77  KB_H = 11,
78  KB_I = 12,
79  KB_J = 13,
80  KB_K = 14,
81  KB_L = 15,
82  KB_M = 16,
83  KB_N = 17,
84  KB_O = 18,
85  KB_P = 19,
86  KB_Q = 20,
87  KB_R = 21,
88  KB_S = 22,
89  KB_T = 23,
90  KB_U = 24,
91  KB_V = 25,
92  KB_W = 26,
93  KB_X = 27,
94  KB_Y = 28,
95  KB_Z = 29,
96  KB_ISO = 100, // ` on US/UK macOS, < ON EU macOS, \ in US/UK Windows
111  KB_RANGE_END = 0xff,
112 
127  MS_RANGE_END = 0x110,
128 
150 
171 
192 
213 
234 
236 
239  NO_BUTTON = 0xffffffff,
240 
245  };
246 }
The library&#39;s main namespace.
Definition: Audio.hpp:12
ButtonName
List of button ids that can be used with Gosu::Input.
Definition: Buttons.hpp:10
Macros and utility functions to facilitate programming on all of Gosu&#39;s supported platforms...