1
0
Fork 0

Fixed another array overrun type bug.

This commit is contained in:
curt 2000-09-21 20:08:51 +00:00
parent 830b17c6ef
commit dcf9dd9a1b

View file

@ -47,7 +47,7 @@ static const int MAX_JOYSTICKS = 2;
static const int MAX_JOYSTICKS = 10;
#endif
static const int MAX_AXES = _JS_MAX_AXES;
static const int MAX_BUTTONS = 10;
static const int MAX_BUTTONS = 32;
/**
@ -63,7 +63,12 @@ static const char * axisNames[] = {
};
static const char * buttonNames[] = {
"button0", "button1", "button2", "button3", "button4",
"button5", "button6", "button7", "button8", "button9"
"button5", "button6", "button7", "button8", "button9",
"button10", "button11", "button12", "button13", "button14",
"button15", "button16", "button17", "button18", "button19",
"button20", "button21", "button22", "button23", "button24",
"button25", "button26", "button27", "button28", "button29",
"button30", "button31"
};