/*
* call-seq:
* axes -> Integer
*
* Returns the number of axes (singular: axis) featured on the Joystick. Each
* control stick generally has two axes (X and Y), although there are other
* types of controls which are represented as one or more axes. See also
* #axis_state().
*/
VALUE rbgm_joystick_numaxes( VALUE self )
{
SDL_Joystick *joy;
Data_Get_Struct(self,SDL_Joystick,joy);
return INT2FIX(SDL_JoystickNumAxes(joy));
}