()
| 142 | * @returns All config values, with defaults applied for missing values |
| 143 | */ |
| 144 | export function getAllConfig(): ConfigValues { |
| 145 | if (typeof window === 'undefined') return DEFAULT_CONFIG; |
| 146 | |
| 147 | const config: ConfigValues = { |
| 148 | robotAddress: getConfig('robotAddress'), |
| 149 | videoFormat: getConfig('videoFormat'), |
| 150 | overlayColor: getConfig('overlayColor'), |
| 151 | gamepadMappings: getConfig('gamepadMappings'), |
| 152 | gamepadAxisMappings: getConfig('gamepadAxisMappings'), |
| 153 | joystickVisualizationOnly: getConfig('joystickVisualizationOnly'), |
| 154 | }; |
| 155 | |
| 156 | return config; |
| 157 | } |
nothing calls this directly
no test coverage detected