{{ if .Dashboard.TemperatureBar }} {{ template "temperature-bar" . }} {{ end }} {{ if eq .Device.Connected false }} {{ template "404-no-device" . }} {{ else }}
{{ .Device.Product }}
{{ .Lang "txtFirmware" }} {{ .Device.Firmware }}
{{ .Lang "txtProfile" }}
{{ .Lang "txtBrightness" }}
{{ $deviceProfile.BrightnessSlider }} %
{{ .Lang "txtRgb" }}
{{ if eq .Device.Usb false }}
{{ .Lang "txtSleepTimer" }}
{{ end }}
{{ .Lang "txtDeleteProfile" }}
{{ .Lang "txtControllerLEDs" }}
{{ range $key, $zone := $device.DeviceProfile.ZoneColors }}
{{ $root.Lang "txtZone" }}: {{ $zone.Name }}
{{ end }}
{{ .Lang "txtLeftVibrationModule" }}
{{ $deviceProfile.LeftVibrationValue }} %
{{ .Lang "txtRightVibrationModule" }}
{{ $deviceProfile.RightVibrationValue }} %
{{ .Lang "txtLeftThumbstickEmulation" }}
{{ .Lang "txtEmulationMode" }}
{{ .Lang "txtSensitivityX" }}
{{ $deviceProfile.LeftThumbStickSensitivityX }}
{{ .Lang "txtSensitivityY" }}
{{ $deviceProfile.LeftThumbStickSensitivityY }}
{{ .Lang "txtInvertYAxis" }}
{{ .Lang "txtRightThumbstickEmulation" }}
{{ .Lang "txtEmulationMode" }}
{{ .Lang "txtSensitivityX" }}
{{ $deviceProfile.RightThumbStickSensitivityX }}
{{ .Lang "txtSensitivityY" }}
{{ $deviceProfile.RightThumbStickSensitivityY }}
{{ .Lang "txtInvertYAxis" }}
{{ range $key, $leftTsSettings := $deviceProfile.AnalogData }} {{ $headerText := "" }} {{ if eq $key 0 }} {{ $headerText = $root.Lang "txtLeftThumbstick" }} {{ else if eq $key 1 }} {{ $headerText = $root.Lang "txtRightThumbstick" }} {{ else if eq $key 2 }} {{ $headerText = $root.Lang "txtLeftTrigger" }} {{ else if eq $key 3 }} {{ $headerText = $root.Lang "txtRightTrigger" }} {{ end }}
{{ $headerText }}
{{ end }}
{{ range $key, $value := $device.KeyAssignment }} {{ if eq $key 1 }} {{ continue }} {{ end }} {{ end }}
{{ .Lang "txtKeyAssignment" }} Default {{ .Lang "txtPressAndHold" }} {{ .Lang "txtOnRelease" }} {{ .Lang "txtAssignmentType" }} {{ .Lang "txtAssignmentKey" }}
{{ $value.Name }}
{{ end }}