mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
Added documentation for the game controller axis values
This commit is contained in:
parent
21cb42d79b
commit
8000e6d9e1
@ -247,6 +247,12 @@ extern DECLSPEC void SDLCALL SDL_GameControllerUpdate(void);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The list of axes available from a controller
|
* The list of axes available from a controller
|
||||||
|
*
|
||||||
|
* Thumbstick axis values range from SDL_JOYSTICK_AXIS_MIN to SDL_JOYSTICK_AXIS_MAX,
|
||||||
|
* and are centered within ~8000 of zero, though advanced UI will allow users to set
|
||||||
|
* or autodetect the dead zone, which varies between controllers.
|
||||||
|
*
|
||||||
|
* Trigger axis values range from 0 to SDL_JOYSTICK_AXIS_MAX.
|
||||||
*/
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user