mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-21 14:55:39 +00:00
Re-added balls to the SDL joystick API
It turns out these were being used on Linux and at least one virtual driver was making use of them (thanks @mrfixit2001!)
This commit is contained in:
@@ -2153,6 +2153,10 @@ expression e;
|
||||
+ SDL_EVENT_JOYSTICK_AXIS_MOTION
|
||||
@@
|
||||
@@
|
||||
- SDL_JOYBALLMOTION
|
||||
+ SDL_EVENT_JOYSTICK_BALL_MOTION
|
||||
@@
|
||||
@@
|
||||
- SDL_JOYHATMOTION
|
||||
+ SDL_EVENT_JOYSTICK_HAT_MOTION
|
||||
@@
|
||||
@@ -3044,3 +3048,13 @@ typedef SDL_version, SDL_Version;
|
||||
@@
|
||||
- SDL_HINT_PS2_DYNAMIC_VSYNC
|
||||
+ SDL_HINT_RENDER_PS2_DYNAMIC_VSYNC
|
||||
@@
|
||||
@@
|
||||
- SDL_JoystickNumBalls
|
||||
+ SDL_NumJoystickBalls
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_JoystickGetBall
|
||||
+ SDL_GetJoystickBall
|
||||
(...)
|
||||
|
||||
Reference in New Issue
Block a user