| 1081 | } |
| 1082 | |
| 1083 | void 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 | |
| 1096 | void InputDevice::updateSetAxisNames(int axisIndex) |
| 1097 | { |
nothing calls this directly
no test coverage detected