Adding a \"TODO\" comment about dynamically allocating joystick buttonj and axis arrays
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@590 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
5c37eb4026
commit
6fad66f7dd
@ -41,8 +41,11 @@
|
|||||||
* Initial defines from "js.h" starting around line 33 with the existing "freeglut_joystick.c"
|
* Initial defines from "js.h" starting around line 33 with the existing "freeglut_joystick.c"
|
||||||
* interspersed
|
* interspersed
|
||||||
*/
|
*/
|
||||||
#define _JS_MAX_BUTTONS 32
|
|
||||||
|
|
||||||
|
/* XXX It might be better to poll the operating system for the numbers of buttons and
|
||||||
|
* XXX axes and then dynamically allocate the arrays.
|
||||||
|
*/
|
||||||
|
#define _JS_MAX_BUTTONS 32
|
||||||
|
|
||||||
#if TARGET_HOST_MACINTOSH
|
#if TARGET_HOST_MACINTOSH
|
||||||
# define _JS_MAX_AXES 9
|
# define _JS_MAX_AXES 9
|
||||||
|
Reference in New Issue
Block a user