MCPcopy Create free account
hub / github.com/dmadison/ArduinoXInput / setTriggerRange

Method setTriggerRange

src/XInput.cpp:539–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537}
538
539void XInputController::setTriggerRange(int32_t rangeMin, int32_t rangeMax) {
540 setRange(TRIGGER_LEFT, rangeMin, rangeMax);
541 setRange(TRIGGER_RIGHT, rangeMin, rangeMax);
542}
543
544void XInputController::setJoystickRange(int32_t rangeMin, int32_t rangeMax) {
545 setRange(JOY_LEFT, rangeMin, rangeMax);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected