Vuo 2.4.4
Loading...
Searching...
No Matches
VuoKey.h
Go to the documentation of this file.
1
10#pragma once
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
28typedef enum {
29 VuoKey_Any,
30 VuoKey_A,
31 VuoKey_S,
32 VuoKey_D,
33 VuoKey_F,
34 VuoKey_H,
35 VuoKey_G,
36 VuoKey_Z,
37 VuoKey_X,
38 VuoKey_C,
39 VuoKey_V,
40 VuoKey_B,
41 VuoKey_Q,
42 VuoKey_W,
43 VuoKey_E,
44 VuoKey_R,
45 VuoKey_Y,
46 VuoKey_T,
47 VuoKey_1,
48 VuoKey_2,
49 VuoKey_3,
50 VuoKey_4,
51 VuoKey_6,
52 VuoKey_5,
53 VuoKey_Equal,
54 VuoKey_9,
55 VuoKey_7,
56 VuoKey_Minus,
57 VuoKey_8,
58 VuoKey_0,
59 VuoKey_RightBracket,
60 VuoKey_O,
61 VuoKey_U,
62 VuoKey_LeftBracket,
63 VuoKey_I,
64 VuoKey_P,
65 VuoKey_L,
66 VuoKey_J,
67 VuoKey_Quote,
68 VuoKey_K,
69 VuoKey_Semicolon,
70 VuoKey_Backslash,
71 VuoKey_Comma,
72 VuoKey_Slash,
73 VuoKey_N,
74 VuoKey_M,
75 VuoKey_Period,
76 VuoKey_Grave,
77 VuoKey_KeypadDecimal,
78 VuoKey_KeypadMultiply,
79 VuoKey_KeypadPlus,
80 VuoKey_KeypadClear,
81 VuoKey_KeypadDivide,
82 VuoKey_KeypadEnter,
83 VuoKey_KeypadMinus,
84 VuoKey_KeypadEquals,
85 VuoKey_Keypad0,
86 VuoKey_Keypad1,
87 VuoKey_Keypad2,
88 VuoKey_Keypad3,
89 VuoKey_Keypad4,
90 VuoKey_Keypad5,
91 VuoKey_Keypad6,
92 VuoKey_Keypad7,
93 VuoKey_Keypad8,
94 VuoKey_Keypad9,
95 VuoKey_Return,
96 VuoKey_Tab,
97 VuoKey_Space,
98 VuoKey_Delete,
99 VuoKey_Escape,
100 VuoKey_Command,
101 VuoKey_Shift,
102 VuoKey_CapsLock,
103 VuoKey_Option,
104 VuoKey_Control,
105 VuoKey_RightShift,
106 VuoKey_RightOption,
107 VuoKey_RightControl,
108 VuoKey_Function,
109 VuoKey_F17,
110 VuoKey_VolumeUp,
111 VuoKey_VolumeDown,
112 VuoKey_Mute,
113 VuoKey_F18,
114 VuoKey_F19,
115 VuoKey_F20,
116 VuoKey_F5,
117 VuoKey_F6,
118 VuoKey_F7,
119 VuoKey_F3,
120 VuoKey_F8,
121 VuoKey_F9,
122 VuoKey_F11,
123 VuoKey_F13,
124 VuoKey_F16,
125 VuoKey_F14,
126 VuoKey_F10,
127 VuoKey_F12,
128 VuoKey_F15,
129 VuoKey_Help,
130 VuoKey_Home,
131 VuoKey_PageUp,
132 VuoKey_ForwardDelete,
133 VuoKey_F4,
134 VuoKey_End,
135 VuoKey_F2,
136 VuoKey_PageDown,
137 VuoKey_F1,
138 VuoKey_LeftArrow,
139 VuoKey_RightArrow,
140 VuoKey_DownArrow,
141 VuoKey_UpArrow,
142 VuoKey_Yen,
143 VuoKey_Underscore,
144 VuoKey_KeypadComma,
145 VuoKey_Eisu,
146 VuoKey_Kana
147} VuoKey;
148
149#include "VuoList_VuoKey.h"
150
151VuoKey VuoKey_makeFromJson(struct json_object * js);
152struct json_object * VuoKey_getJson(const VuoKey value);
154char * VuoKey_getSummary(const VuoKey value);
155
156char * VuoKey_getCharactersForMacVirtualKeyCode(unsigned short keyCode, unsigned long flags, unsigned int *deadKeyState);
157VuoKey VuoKey_makeFromMacVirtualKeyCode(unsigned short keyCode);
158bool VuoKey_doesMacVirtualKeyCodeMatch(unsigned short keyCode, VuoKey key);
159
161
164char * VuoKey_getString(const VuoKey value);
168
173#ifdef __cplusplus
174}
175#endif