aboutsummaryrefslogtreecommitdiff
path: root/sdl2/joystick.ha
diff options
context:
space:
mode:
Diffstat (limited to 'sdl2/joystick.ha')
-rw-r--r--sdl2/joystick.ha12
1 files changed, 0 insertions, 12 deletions
diff --git a/sdl2/joystick.ha b/sdl2/joystick.ha
deleted file mode 100644
index 2234aff..0000000
--- a/sdl2/joystick.ha
+++ /dev/null
@@ -1,12 +0,0 @@
-// TODO: Flesh me out
-
-// Minimum value for a joystick axis.
-export def SDL_JOYSTICK_AXIS_MIN: i16 = -32768;
-
-// Minimum value for a joystick axis.
-export def SDL_JOYSTICK_AXIS_MAX: i16 = 32767;
-
-@symbol("SDL_NumJoysticks") fn _SDL_NumJoysticks() int;
-
-// Returns the number of joysticks attached to the system.
-export fn SDL_NumJoysticks() (int | error) = wrapint(_SDL_NumJoysticks());