* @brief Rename sensor in all sets to the name in the current set * @param type The sensor to rename */
| 1114 | * @param type The sensor to rename |
| 1115 | */ |
| 1116 | void InputDevice::updateSetSensorNames(JoySensorType type) |
| 1117 | { |
| 1118 | JoySensor *sensor = getActiveSetJoystick()->getSensor(type); |
| 1119 | |
| 1120 | if (sensor != nullptr) |
| 1121 | setSensorName(type, sensor->getSensorName()); |
| 1122 | } |
| 1123 | |
| 1124 | void InputDevice::updateSetDPadNames(int dpadIndex) |
| 1125 | { |
nothing calls this directly
no test coverage detected