mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-19 01:58:13 +08:00
Documentation \param fixes
This commit is contained in:
@@ -237,7 +237,7 @@ extern DECLSPEC SDL_hid_device * SDLCALL SDL_hid_open(unsigned short vendor_id,
|
||||
* platform-specific path name can be used (eg: /dev/hidraw0 on Linux).
|
||||
*
|
||||
* \param path The path name of the device to open
|
||||
* \param bExclusive exclusive opening (windows only?FIXME)
|
||||
* \param bExclusive Open device in exclusive mode (Windows only)
|
||||
* \returns a pointer to a SDL_hid_device object on success or NULL on
|
||||
* failure.
|
||||
*
|
||||
|
||||
@@ -309,7 +309,7 @@ extern DECLSPEC SDL_Joystick *SDLCALL SDL_GetJoystickFromPlayerIndex(int player_
|
||||
/**
|
||||
* Attach a new virtual joystick.
|
||||
*
|
||||
* \param type Type of joystick
|
||||
* \param type type of joystick
|
||||
* \param naxes number of axes
|
||||
* \param nbuttons number of buttons
|
||||
* \param nhats number of hats
|
||||
|
||||
@@ -74,7 +74,7 @@ extern DECLSPEC SDL_MetalView SDLCALL SDL_Metal_CreateView(SDL_Window * window);
|
||||
* This should be called before SDL_DestroyWindow, if SDL_Metal_CreateView was
|
||||
* called after SDL_CreateWindow.
|
||||
*
|
||||
* \param view the view
|
||||
* \param view the SDL_MetalView object
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
*
|
||||
@@ -85,7 +85,7 @@ extern DECLSPEC void SDLCALL SDL_Metal_DestroyView(SDL_MetalView view);
|
||||
/**
|
||||
* Get a pointer to the backing CAMetalLayer for the given view.
|
||||
*
|
||||
* \param view the view
|
||||
* \param view the SDL_MetalView object
|
||||
* \returns a pointer
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
|
||||
Reference in New Issue
Block a user