mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-30 00:17:40 +00:00
Renamed SDL_AttachVirtualJoystickEx() to SDL_AttachVirtualJoystick()
The shorthand version of this function didn't allow specifying a controller name, which seems pretty important. It seems like anyone actually implementing a virtual joystick is going to want to use some of the extended functionality.
This commit is contained in:
parent
598b4e0a1f
commit
bcbf09acde
10 changed files with 18 additions and 62 deletions
|
@ -1292,13 +1292,8 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
|
|||
+ SDL_JOYSTICK_TYPE_GAMEPAD
|
||||
@@
|
||||
@@
|
||||
- SDL_JoystickAttachVirtual
|
||||
+ SDL_AttachVirtualJoystick
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
- SDL_JoystickAttachVirtualEx
|
||||
+ SDL_AttachVirtualJoystickEx
|
||||
+ SDL_AttachVirtualJoystick
|
||||
(...)
|
||||
@@
|
||||
@@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue