summaryrefslogtreecommitdiffstats
path: root/src/glut/directfb/internal.h
diff options
context:
space:
mode:
authorClaudio Ciccani <[email protected]>2006-06-09 15:18:04 +0000
committerClaudio Ciccani <[email protected]>2006-06-09 15:18:04 +0000
commit6acc6dd0c4955832f1f94d65d21d30ed53793cc5 (patch)
treec057addb4188938937a411a0cb9dfffb438983b5 /src/glut/directfb/internal.h
parent52c5d9c5b785831c9f7af9444f9a7cda01da06ce (diff)
Separated joystick pointer coordinates from mouse pointer coordinates.
Diffstat (limited to 'src/glut/directfb/internal.h')
-rw-r--r--src/glut/directfb/internal.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/glut/directfb/internal.h b/src/glut/directfb/internal.h
index 787ef89543a..2e986c9f286 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 */