MCPcopy Create free account
hub / github.com/SFML/imgui-sfml / SetJoystickRTriggerThreshold

Function SetJoystickRTriggerThreshold

imgui-SFML.cpp:696–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694}
695
696void SetJoystickRTriggerThreshold(float threshold)
697{
698 assert(s_currWindowCtx);
699 assert(threshold >= -100.f && threshold <= 100.f);
700 s_currWindowCtx->rTriggerInfo.threshold = threshold;
701}
702
703void SetJoystickMapping(int key, unsigned int joystickButton)
704{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected