MCPcopy Create free account
hub / github.com/JibbSmart/JoyShockMapper / triggerModeNotification

Function triggerModeNotification

JoyShockMapper/src/main.cpp:2571–2582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2569}
2570
2571TriggerMode triggerModeNotification(TriggerMode current, TriggerMode next)
2572{
2573 for (auto js : handle_to_joyshock)
2574 {
2575 if (JslGetControllerType(js.first) != JS_TYPE_DS4 && next != TriggerMode::NO_FULL)
2576 {
2577 printf("WARNING: Dual Stage Triggers are only valid on analog triggers. Full pull bindings will be ignored on non DS4 controllers.\n");
2578 break;
2579 }
2580 }
2581 return next;
2582}
2583
2584void UpdateRingModeFromStickMode(JSMVariable<RingMode> *stickRingMode, StickMode newValue)
2585{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected