-
Notifications
You must be signed in to change notification settings - Fork 4
/
key_macos.h
92 lines (80 loc) · 1.91 KB
/
key_macos.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* key_macos.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: oouklich <oouklich@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/01/19 17:40:13 by oouklich #+# #+# */
/* Updated: 2019/12/28 22:20:38 by oouklich ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef KEY_MACOS_H
# define KEY_MACOS_H
/*
** Keyboard LETTERS
*/
# define K_A 0
# define K_B 11
# define K_C 8
# define K_D 2
# define K_E 14
# define K_F 3
# define K_G 5
# define K_H 4
# define K_I 34
# define K_J 38
# define K_K 40
# define K_L 37
# define K_M 46
# define K_N 45
# define K_O 31
# define K_P 35
# define K_Q 12
# define K_R 15
# define K_S 1
# define K_T 17
# define K_U 32
# define K_V 9
# define K_W 13
# define K_X 7
# define K_Y 16
# define K_Z 6
/*
** Keyboard ARROWS
*/
# define K_AR_L 123
# define K_AR_R 124
# define K_AR_U 126
# define K_AR_D 125
/*
** Keyboard NUMPAD
*/
# define K_NP_DIV 75
# define K_NP_MUL 67
# define K_NP_MIN 78
# define K_NP_PLU 69
# define K_NP_1 83
# define K_NP_2 84
# define K_NP_3 85
# define K_NP_4 86
# define K_NP_5 87
# define K_NP_6 88
# define K_NP_7 89
# define K_NP_8 91
# define K_NP_9 92
/*
** Keyboard MISC
*/
# define K_SP 49
# define K_ESC 53
# define K_TAB 48
/*
** Mouse
*/
# define M_CLK_L 1
# define M_CLK_R 3
# define M_CLK_M 2
# define M_SCR_U 4
# define M_SCR_D 5
#endif