MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / GetAxisMovement

Function GetAxisMovement

include/Gamepad.hpp:89–89  ·  view source on GitHub ↗

* Return axis movement value for a gamepad axis */

Source from the content-addressed store, hash-verified

87 * Return axis movement value for a gamepad axis
88 */
89 RLCPP_NODISCARD float GetAxisMovement(int axis) const { return ::GetGamepadAxisMovement(number, axis); }
90
91 static int SetMappings(const std::string& mappings) { return SetGamepadMappings(mappings.c_str()); }
92

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected