2 * $Source: /cvs/cvsroot/d2x/arch/sdl/joy.c,v $
5 * $Date: 2001-10-24 09:25:05 $
9 * $Log: not supported by cvs2svn $
10 * Revision 1.1 2001/10/10 03:01:29 bradleyb
11 * Replacing win32 joystick (broken) with SDL joystick (stubs)
30 if (SDL_Init( SDL_INIT_JOYSTICK ) < 0)
32 Warning("SDL library initialisation failed: %s.", SDL_GetError());
48 joy_get_pos(int *x, int *y)
61 joy_get_button_down_cnt(int btn)
67 joy_get_button_down_time(int btn)
73 joystick_read_raw_axis(ubyte mask, int *axis)
85 joy_get_button_state(int btn)
91 joy_get_cal_vals(int *axis_min, int *axis_center, int *axis_max)
97 joy_set_cal_vals(int *axis_min, int *axis_center, int *axis_max)
103 joy_get_scaled_reading(int raw, int axn)
109 joy_set_slow_reading(int flag)