blob: c4f4c9612388210df1dcf9913bb9d1b0a340ffb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// TODO: Flesh me out
// Minimum value for a joystick axis.
export def JOYSTICK_AXIS_MIN: i16 = -32768;
// Minimum value for a joystick axis.
export def JOYSTICK_AXIS_MAX: i16 = 32767;
// Count the number of joysticks attached to the system.
//
// Returns the number of attached joysticks on success or a negative error code
// on failure.
export @symbol("SDL_NumJoysticks") fn numjoysticks() int;
|