| 1068 | } |
| 1069 | |
| 1070 | void InputDevice::updateSetDPadButtonNames(int dpadIndex, int buttonIndex) |
| 1071 | { |
| 1072 | JoyDPad *dpad = getActiveSetJoystick()->getJoyDPad(dpadIndex); |
| 1073 | |
| 1074 | if (dpad != nullptr) |
| 1075 | { |
| 1076 | JoyDPadButton *button = dpad->getJoyButton(buttonIndex); |
| 1077 | |
| 1078 | if (button != nullptr) |
| 1079 | setDPadButtonName(dpadIndex, buttonIndex, button->getButtonName()); |
| 1080 | } |
| 1081 | } |
| 1082 | |
| 1083 | void InputDevice::updateSetVDPadButtonNames(int vdpadIndex, int buttonIndex) |
| 1084 | { |
nothing calls this directly
no test coverage detected