Added API macros for Spaceball buttons.

This commit is contained in:
Jinrong Xie 2016-01-18 12:54:06 -08:00
parent 1091f89cf6
commit 472bc2bf62

View File

@ -407,6 +407,13 @@
#define GLUT_GAME_MODE_REFRESH_RATE 0x0005 #define GLUT_GAME_MODE_REFRESH_RATE 0x0005
#define GLUT_GAME_MODE_DISPLAY_CHANGED 0x0006 #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 * Initialization functions, see fglut_init.c
*/ */