From c3ac3e8f1c1c9a50831e7ddb9f531c1893112020 Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sun, 21 Sep 2014 14:33:54 -0700 Subject: [PATCH] Get the PC Joystick working with glvideo renderer --- src/video/glvideo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/video/glvideo.c b/src/video/glvideo.c index f9980181..93428625 100644 --- a/src/video/glvideo.c +++ b/src/video/glvideo.c @@ -513,6 +513,10 @@ static void vdriver_mouse(int button, int state, int x, int y) { // update, display, reshape // static void vdriver_update(void) { +#if !defined(__APPLE__) + // HACK MAYBE FIXME : pumps the joystick sampling code that is currently integrated into the keys routine + c_keys_handle_input(-1, 0); +#endif glutPostRedisplay(); }