MCPcopy Create free account
hub / github.com/AntiMicroX/antimicrox / updateSetButtonNames

Method updateSetButtonNames

src/inputdevice.cpp:1013–1019  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1011}
1012
1013void InputDevice::updateSetButtonNames(int index)
1014{
1015 JoyButton *button = getActiveSetJoystick()->getJoyButton(index);
1016
1017 if (button != nullptr)
1018 setButtonName(index, button->getButtonName());
1019}
1020
1021void InputDevice::updateSetAxisButtonNames(int axisIndex, int buttonIndex)
1022{

Callers

nothing calls this directly

Calls 2

getButtonNameMethod · 0.80
getJoyButtonMethod · 0.45

Tested by

no test coverage detected