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

Method updateSetVDPadButtonNames

src/inputdevice.cpp:1083–1094  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1081}
1082
1083void InputDevice::updateSetVDPadButtonNames(int vdpadIndex, int buttonIndex)
1084{
1085 VDPad *vdpad = getActiveSetJoystick()->getVDPad(vdpadIndex);
1086
1087 if (vdpad != nullptr)
1088 {
1089 JoyDPadButton *button = vdpad->getJoyButton(buttonIndex);
1090
1091 if (button != nullptr)
1092 setVDPadButtonName(vdpadIndex, buttonIndex, button->getButtonName());
1093 }
1094}
1095
1096void InputDevice::updateSetAxisNames(int axisIndex)
1097{

Callers

nothing calls this directly

Calls 3

getButtonNameMethod · 0.80
getVDPadMethod · 0.45
getJoyButtonMethod · 0.45

Tested by

no test coverage detected