projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ee8002
)
Added API macros for Spaceball buttons.
author
Jinrong Xie
<jrxie@ucdavis.edu>
Wed, 20 Jan 2016 19:48:11 +0000
(19:48 +0000)
committer
Diederick 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
patch
|
blob
|
history
diff --git
a/include/GL/freeglut_std.h
b/include/GL/freeglut_std.h
index
a658c7c
..
5ffc5a0
100644
(file)
--- a/
include/GL/freeglut_std.h
+++ b/
include/GL/freeglut_std.h
@@
-408,6
+408,13
@@
#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 );