From 6acc6dd0c4955832f1f94d65d21d30ed53793cc5 Mon Sep 17 00:00:00 2001 From: Claudio Ciccani Date: Fri, 9 Jun 2006 15:18:04 +0000 Subject: Separated joystick pointer coordinates from mouse pointer coordinates. --- src/glut/directfb/internal.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/glut/directfb/internal.h') diff --git a/src/glut/directfb/internal.h b/src/glut/directfb/internal.h index 787ef89543..2e986c9f28 100644 --- a/src/glut/directfb/internal.h +++ b/src/glut/directfb/internal.h @@ -61,10 +61,13 @@ typedef struct __GlutWindow_s { IDirectFBSurface *surface; IDirectFBGL *gl; - /* pointer position in fullscreen mode */ + /* cursor position in fullscreen mode */ int cx; int cy; - int cz; + /* joystick position */ + int jx; + int jy; + int jz; /* pressed modifiers */ int modifiers; /* pressed buttons */ -- cgit v1.2.3