Added API macros for Spaceball buttons.
authorJinrong Xie <jrxie@ucdavis.edu>
Wed, 20 Jan 2016 19:48:11 +0000 (19:48 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Wed, 20 Jan 2016 19:48:11 +0000 (19:48 +0000)
(cherry picked from commit 472bc2bf627cd9a607ac6d59c8e6cb36e72e3aaf)

(cherry picked from commit 472bc2bf627cd9a607ac6d59c8e6cb36e72e3aaf)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1784 7f0cb862-5218-0410-a997-914c9d46530a

include/GL/freeglut_std.h

index a658c7c..5ffc5a0 100644 (file)
 #define  GLUT_GAME_MODE_DISPLAY_CHANGED     0x0006
 
 /*
+ * GLUT API macro definitions -- Spaceball button definitions
+ */
+
+#define  GLUT_SPACEBALL_BUTTON_A            0x0001
+#define  GLUT_SPACEBALL_BUTTON_B            0x0002
+
+/*
  * Initialization functions, see fglut_init.c
  */
 FGAPI void    FGAPIENTRY glutInit( int* pargc, char** argv );