2 * $Source: /cvs/cvsroot/d2x/input/sdl_joy.c,v $
5 * $Date: 2001-10-10 03:01:29 $
9 * $Log: not supported by cvs2svn $
27 if (SDL_Init( SDL_INIT_JOYSTICK ) < 0)
29 Warning("SDL library initialisation failed: %s.", SDL_GetError());
45 joy_get_pos(int *x, int *y)
58 joy_get_button_down_cnt(int btn)
64 joy_get_button_down_time(int btn)
70 joystick_read_raw_axis(ubyte mask, int *axis)
82 joy_get_button_state(int btn)
88 joy_get_cal_vals(int *axis_min, int *axis_center, int *axis_max)
94 joy_set_cal_vals(int *axis_min, int *axis_center, int *axis_max)
100 joy_get_scaled_reading(int raw, int axn)
106 joy_set_slow_reading(int flag)