MCPcopy Create free account
hub / github.com/AmelieHeinrich/Termina / GetGamepadAxisName

Function GetGamepadAxisName

Sources/Termina/Input/InputSystem.cpp:457–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

455 }
456
457 static const char* GetGamepadAxisName(int32 axis)
458 {
459 switch (axis)
460 {
461 case 0: return "LeftX";
462 case 1: return "LeftY";
463 case 2: return "RightX";
464 case 3: return "RightY";
465 case 4: return "LTrigger";
466 case 5: return "RTrigger";
467 default: return "?";
468 }
469 }
470
471 void InputSystem::ShowDebugWindow(bool* open)
472 {

Callers 1

ShowDebugWindowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected