/* 
 *  call-seq:
 *    num_joysticks  ->  Integer
 *
 *  Returns the total number of joysticks detected on the system.
 */
VALUE rbgm_joy_numjoysticks( VALUE module )
{
        return INT2FIX(SDL_NumJoysticks());
}