annotate R/rdyncall/inst/dynports/glfw.R @ 34:2682a627168c

- breaking changes: * restrict 'Z' conversions to immutable types * restrict 'p' to mutable types (and handles)
author Tassilo Philipp
date Sun, 12 Apr 2020 19:37:37 +0200
parents 0cfcc391201f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 dynbind("glfw", "
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 glfwBroadcastCond(*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 glfwCloseWindow()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 glfwCreateCond()*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 glfwCreateMutex()*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 glfwCreateThread(*p*v)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 glfwDestroyCond(*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 glfwDestroyMutex(*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 glfwDestroyThread(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 glfwDisable(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 glfwEnable(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 glfwExtensionSupported(*c)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 glfwFreeImage(*<GLFWimage>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 glfwGetDesktopMode(*<GLFWvidmode>)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 glfwGetGLVersion(*i*i*i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 glfwGetJoystickButtons(i*Ci)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 glfwGetJoystickParam(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 glfwGetJoystickPos(i*fi)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 glfwGetKey(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 glfwGetMouseButton(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 glfwGetMousePos(*i*i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 glfwGetMouseWheel()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 glfwGetNumberOfProcessors()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26 glfwGetProcAddress(*c)*v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 glfwGetThreadID()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 glfwGetTime()d;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 glfwGetVersion(*i*i*i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 glfwGetVideoModes(*<GLFWvidmode>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 glfwGetWindowParam(i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 glfwGetWindowSize(*i*i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 glfwIconifyWindow()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 glfwInit()i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 glfwLoadMemoryTexture2D(*vji)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 glfwLoadTexture2D(*ci)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 glfwLoadTextureImage2D(*<GLFWimage>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 glfwLockMutex(*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 glfwOpenWindow(iiiiiiiii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 glfwOpenWindowHint(ii)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 glfwPollEvents()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 glfwReadImage(*c*<GLFWimage>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 glfwReadMemoryImage(*vj*<GLFWimage>i)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 glfwRestoreWindow()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 glfwSetCharCallback(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 glfwSetKeyCallback(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 glfwSetMouseButtonCallback(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 glfwSetMousePos(ii)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49 glfwSetMousePosCallback(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
50 glfwSetMouseWheel(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
51 glfwSetMouseWheelCallback(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
52 glfwSetTime(d)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
53 glfwSetWindowCloseCallback(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
54 glfwSetWindowPos(ii)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
55 glfwSetWindowRefreshCallback(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
56 glfwSetWindowSize(ii)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
57 glfwSetWindowSizeCallback(*p)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
58 glfwSetWindowTitle(*c)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
59 glfwSignalCond(*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
60 glfwSleep(d)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
61 glfwSwapBuffers()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
62 glfwSwapInterval(i)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
63 glfwTerminate()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
64 glfwUnlockMutex(*v)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
65 glfwWaitCond(*v*vd)v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
66 glfwWaitEvents()v;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
67 glfwWaitThread(ii)i;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
68 ")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
69 parseStructInfos("
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
70 GLFWimage{iiii*C}Width Height Format BytesPerPixel Data ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
71 GLFWvidmode{iiiii}Width Height RedBits BlueBits GreenBits ;
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
72 ")
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
73 #GLFWAPI=
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
74 #GLFWAPIENTRY=
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
75 #GLFWCALL=
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
76 GLFW_ACCELERATED=0x00020004
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
77 GLFW_ACCUM_ALPHA_BITS=0x0002000F
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
78 GLFW_ACCUM_BLUE_BITS=0x0002000E
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
79 GLFW_ACCUM_GREEN_BITS=0x0002000D
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
80 GLFW_ACCUM_RED_BITS=0x0002000C
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
81 GLFW_ACTIVE=0x00020002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
82 GLFW_ALPHA_BITS=0x00020008
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
83 GLFW_ALPHA_MAP_BIT=0x00000008
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
84 GLFW_AUTO_POLL_EVENTS=0x00030006
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
85 GLFW_AUX_BUFFERS=0x00020010
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
86 GLFW_AXES=0x00050002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
87 GLFW_BLUE_BITS=0x00020007
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
88 GLFW_BUILD_MIPMAPS_BIT=0x00000004
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
89 GLFW_BUTTONS=0x00050003
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
90 GLFW_DEPTH_BITS=0x00020009
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
91 GLFW_FSAA_SAMPLES=0x00020013
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
92 GLFW_FULLSCREEN=0x00010002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
93 GLFW_GREEN_BITS=0x00020006
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
94 GLFW_ICONIFIED=0x00020003
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
95 GLFW_INFINITY=100000.0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
96 GLFW_JOYSTICK_10=9
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
97 GLFW_JOYSTICK_11=10
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
98 GLFW_JOYSTICK_12=11
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
99 GLFW_JOYSTICK_13=12
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
100 GLFW_JOYSTICK_14=13
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
101 GLFW_JOYSTICK_15=14
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
102 GLFW_JOYSTICK_16=15
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
103 GLFW_JOYSTICK_1=0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
104 GLFW_JOYSTICK_2=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
105 GLFW_JOYSTICK_3=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
106 GLFW_JOYSTICK_4=3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
107 GLFW_JOYSTICK_5=4
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
108 GLFW_JOYSTICK_6=5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
109 GLFW_JOYSTICK_7=6
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
110 GLFW_JOYSTICK_8=7
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
111 GLFW_JOYSTICK_9=8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
112 GLFW_JOYSTICK_LAST=GLFW_JOYSTICK_16
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
113 GLFW_KEY_SPECIAL=256
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
114 GLFW_KEY_BACKSPACE=(GLFW_KEY_SPECIAL+39)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
115 GLFW_KEY_CAPS_LOCK=(GLFW_KEY_SPECIAL+64)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
116 GLFW_KEY_DEL=(GLFW_KEY_SPECIAL+41)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
117 GLFW_KEY_DOWN=(GLFW_KEY_SPECIAL+28)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
118 GLFW_KEY_END=(GLFW_KEY_SPECIAL+45)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
119 GLFW_KEY_ENTER=(GLFW_KEY_SPECIAL+38)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
120 GLFW_KEY_ESC=(GLFW_KEY_SPECIAL+1)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
121 GLFW_KEY_F10=(GLFW_KEY_SPECIAL+11)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
122 GLFW_KEY_F11=(GLFW_KEY_SPECIAL+12)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
123 GLFW_KEY_F12=(GLFW_KEY_SPECIAL+13)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
124 GLFW_KEY_F13=(GLFW_KEY_SPECIAL+14)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
125 GLFW_KEY_F14=(GLFW_KEY_SPECIAL+15)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
126 GLFW_KEY_F15=(GLFW_KEY_SPECIAL+16)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
127 GLFW_KEY_F16=(GLFW_KEY_SPECIAL+17)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
128 GLFW_KEY_F17=(GLFW_KEY_SPECIAL+18)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
129 GLFW_KEY_F18=(GLFW_KEY_SPECIAL+19)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
130 GLFW_KEY_F19=(GLFW_KEY_SPECIAL+20)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
131 GLFW_KEY_F1=(GLFW_KEY_SPECIAL+2)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
132 GLFW_KEY_F20=(GLFW_KEY_SPECIAL+21)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
133 GLFW_KEY_F21=(GLFW_KEY_SPECIAL+22)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
134 GLFW_KEY_F22=(GLFW_KEY_SPECIAL+23)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
135 GLFW_KEY_F23=(GLFW_KEY_SPECIAL+24)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
136 GLFW_KEY_F24=(GLFW_KEY_SPECIAL+25)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
137 GLFW_KEY_F25=(GLFW_KEY_SPECIAL+26)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
138 GLFW_KEY_F2=(GLFW_KEY_SPECIAL+3)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
139 GLFW_KEY_F3=(GLFW_KEY_SPECIAL+4)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
140 GLFW_KEY_F4=(GLFW_KEY_SPECIAL+5)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
141 GLFW_KEY_F5=(GLFW_KEY_SPECIAL+6)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
142 GLFW_KEY_F6=(GLFW_KEY_SPECIAL+7)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
143 GLFW_KEY_F7=(GLFW_KEY_SPECIAL+8)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
144 GLFW_KEY_F8=(GLFW_KEY_SPECIAL+9)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
145 GLFW_KEY_F9=(GLFW_KEY_SPECIAL+10)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
146 GLFW_KEY_HOME=(GLFW_KEY_SPECIAL+44)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
147 GLFW_KEY_INSERT=(GLFW_KEY_SPECIAL+40)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
148 GLFW_KEY_KP_0=(GLFW_KEY_SPECIAL+46)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
149 GLFW_KEY_KP_1=(GLFW_KEY_SPECIAL+47)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
150 GLFW_KEY_KP_2=(GLFW_KEY_SPECIAL+48)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
151 GLFW_KEY_KP_3=(GLFW_KEY_SPECIAL+49)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
152 GLFW_KEY_KP_4=(GLFW_KEY_SPECIAL+50)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
153 GLFW_KEY_KP_5=(GLFW_KEY_SPECIAL+51)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
154 GLFW_KEY_KP_6=(GLFW_KEY_SPECIAL+52)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
155 GLFW_KEY_KP_7=(GLFW_KEY_SPECIAL+53)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
156 GLFW_KEY_KP_8=(GLFW_KEY_SPECIAL+54)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
157 GLFW_KEY_KP_9=(GLFW_KEY_SPECIAL+55)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
158 GLFW_KEY_KP_ADD=(GLFW_KEY_SPECIAL+59)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
159 GLFW_KEY_KP_DECIMAL=(GLFW_KEY_SPECIAL+60)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
160 GLFW_KEY_KP_DIVIDE=(GLFW_KEY_SPECIAL+56)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
161 GLFW_KEY_KP_ENTER=(GLFW_KEY_SPECIAL+62)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
162 GLFW_KEY_KP_EQUAL=(GLFW_KEY_SPECIAL+61)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
163 GLFW_KEY_KP_MULTIPLY=(GLFW_KEY_SPECIAL+57)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
164 GLFW_KEY_KP_NUM_LOCK=(GLFW_KEY_SPECIAL+63)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
165 GLFW_KEY_KP_SUBTRACT=(GLFW_KEY_SPECIAL+58)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
166 GLFW_KEY_LALT=(GLFW_KEY_SPECIAL+35)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
167 GLFW_KEY_LCTRL=(GLFW_KEY_SPECIAL+33)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
168 GLFW_KEY_LEFT=(GLFW_KEY_SPECIAL+29)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
169 GLFW_KEY_LSHIFT=(GLFW_KEY_SPECIAL+31)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
170 GLFW_KEY_LSUPER=(GLFW_KEY_SPECIAL+67)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
171 GLFW_KEY_MENU=(GLFW_KEY_SPECIAL+69)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
172 GLFW_KEY_PAGEDOWN=(GLFW_KEY_SPECIAL+43)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
173 GLFW_KEY_PAGEUP=(GLFW_KEY_SPECIAL+42)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
174 GLFW_KEY_PAUSE=(GLFW_KEY_SPECIAL+66)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
175 GLFW_KEY_RALT=(GLFW_KEY_SPECIAL+36)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
176 GLFW_KEY_RCTRL=(GLFW_KEY_SPECIAL+34)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
177 GLFW_KEY_REPEAT=0x00030005
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
178 GLFW_KEY_RIGHT=(GLFW_KEY_SPECIAL+30)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
179 GLFW_KEY_RSHIFT=(GLFW_KEY_SPECIAL+32)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
180 GLFW_KEY_RSUPER=(GLFW_KEY_SPECIAL+68)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
181 GLFW_KEY_SCROLL_LOCK=(GLFW_KEY_SPECIAL+65)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
182 GLFW_KEY_SPACE=32
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
183 GLFW_KEY_TAB=(GLFW_KEY_SPECIAL+37)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
184 GLFW_KEY_UNKNOWN=-1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
185 GLFW_KEY_UP=(GLFW_KEY_SPECIAL+27)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
186 GLFW_KEY_LAST=GLFW_KEY_MENU
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
187 GLFW_MOUSE_BUTTON_1=0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
188 GLFW_MOUSE_BUTTON_2=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
189 GLFW_MOUSE_BUTTON_3=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
190 GLFW_MOUSE_BUTTON_4=3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
191 GLFW_MOUSE_BUTTON_5=4
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
192 GLFW_MOUSE_BUTTON_6=5
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
193 GLFW_MOUSE_BUTTON_7=6
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
194 GLFW_MOUSE_BUTTON_8=7
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
195 GLFW_MOUSE_BUTTON_LAST=GLFW_MOUSE_BUTTON_8
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
196 GLFW_MOUSE_BUTTON_LEFT=GLFW_MOUSE_BUTTON_1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
197 GLFW_MOUSE_BUTTON_MIDDLE=GLFW_MOUSE_BUTTON_3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
198 GLFW_MOUSE_BUTTON_RIGHT=GLFW_MOUSE_BUTTON_2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
199 GLFW_MOUSE_CURSOR=0x00030001
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
200 GLFW_NOWAIT=0x00040002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
201 GLFW_NO_RESCALE_BIT=0x00000001
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
202 GLFW_OPENED=0x00020001
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
203 GLFW_OPENGL_COMPAT_PROFILE=0x00050002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
204 GLFW_OPENGL_CORE_PROFILE=0x00050001
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
205 GLFW_OPENGL_DEBUG_CONTEXT=0x00020017
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
206 GLFW_OPENGL_FORWARD_COMPAT=0x00020016
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
207 GLFW_OPENGL_PROFILE=0x00020018
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
208 GLFW_OPENGL_VERSION_MAJOR=0x00020014
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
209 GLFW_OPENGL_VERSION_MINOR=0x00020015
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
210 GLFW_ORIGIN_UL_BIT=0x00000002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
211 GLFW_PRESENT=0x00050001
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
212 GLFW_PRESS=1
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
213 GLFW_RED_BITS=0x00020005
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
214 GLFW_REFRESH_RATE=0x0002000B
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
215 GLFW_RELEASE=0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
216 GLFW_STENCIL_BITS=0x0002000A
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
217 GLFW_STEREO=0x00020011
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
218 GLFW_STICKY_KEYS=0x00030002
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
219 GLFW_STICKY_MOUSE_BUTTONS=0x00030003
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
220 GLFW_SYSTEM_KEYS=0x00030004
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
221 GLFW_VERSION_MAJOR=2
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
222 GLFW_VERSION_MINOR=7
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
223 GLFW_VERSION_REVISION=3
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
224 GLFW_WAIT=0x00040001
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
225 GLFW_WINDOW=0x00010001
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
226 GLFW_WINDOW_NO_RESIZE=0x00020012
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
227