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

Function GetMouseButtonName

Sources/Termina/Input/InputSystem.cpp:418–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416 }
417
418 static const char* GetMouseButtonName(int32 button)
419 {
420 switch (button)
421 {
422 case 0: return "Left";
423 case 1: return "Right";
424 case 2: return "Middle";
425 case 3: return "Button4";
426 case 4: return "Button5";
427 case 5: return "Button6";
428 case 6: return "Button7";
429 case 7: return "Button8";
430 default: return "Unknown";
431 }
432 }
433
434 static const char* GetGamepadButtonName(int32 button)
435 {

Callers 1

ShowDebugWindowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected