.\" This manpage content is licensed under Creative Commons .\" Attribution 4.0 International (CC BY 4.0) .\" https://creativecommons.org/licenses/by/4.0/ .\" This manpage was generated from SDL's wiki page for SDL_GetGamepadBindForAxis: .\" https://wiki.libsdl.org/SDL_GetGamepadBindForAxis .\" Generated with SDL/build-scripts/wikiheaders.pl .\" Please report issues in this manpage's content at: .\" https://github.com/libsdl-org/sdlwiki/issues/new .\" Please report issues in the generation of this manpage from the wiki at: .\" https://github.com/libsdl-org/SDL/issues/new?title=Misgenerated%20manpage%20for%20SDL_GetGamepadBindForAxis .\" SDL can be found at https://libsdl.org/ .de URL \$2 \(laURL: \$1 \(ra\$3 .. .if \n[.g] .mso www.tmac .TH SDL_GetGamepadBindForAxis 3 "SDL 3.0.0" "SDL" "SDL3 FUNCTIONS" .SH NAME SDL_GetGamepadBindForAxis \- Get the SDL joystick layer binding for a gamepad axis mapping\[char46] .SH SYNOPSIS .nf .B #include \(dqSDL3/SDL.h\(dq .PP .BI "SDL_GamepadBinding SDL_GetGamepadBindForAxis(SDL_Gamepad *gamepad, SDL_GamepadAxis axis); .fi .SH FUNCTION PARAMETERS .TP .I gamepad a gamepad .TP .I axis an axis enum value (one of the .BR SDL_GamepadAxis values) .SH RETURN VALUE Returns a .BR SDL_GamepadBinding describing the bind\[char46] On failure (like the given Controller axis doesn't exist on the device), its .BR \[char46]bindType will be .BR .BR SDL_GAMEPAD_BINDTYPE_NONE \[char46] .SH AVAILABILITY This function is available since SDL 3\[char46]0\[char46]0\[char46] .SH SEE ALSO .BR SDL_GetGamepadBindForButton (3)