1UNTITLED LOCAL UNTITLED
2
4 glutForceJoystickFunc — Forces a joystick poll and callback.
5
7 OpenGLUT - input
8
10 #include <openglut.h>
11
12 void
13 glutForceJoystickFunc(void);
14
16 Forces the OpenGLUT joystick code to poll your joystick(s) and to call
17 your joystick callbacks with the result. The operation completes,
18 including callbacks, before glutForceJoystickFunc() returns.
19
21 The original WINCE import used a #if to turn this function off. That is
22 wrong. The proper way to handle the joystick code is to generate "null"
23 events. The WINCE code needs to be fixed in og_joystick.c, not here.
24
26 glutJoystickFunc(3)
27
28
29
30
31 Epoch