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

Function SetMappings

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

Source from the content-addressed store, hash-verified

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
93 /**
94 * Set gamepad vibration for both motors (duration in seconds)

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.80

Tested by

no test coverage detected