Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions src_assets/common/assets/web/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,27 +135,27 @@ <h1 class="my-4">{{ $t('config.configuration') }}</h1>
"sunshine_name": "",
"min_log_level": 2,
"global_prep_cmd": [],
"notify_pre_releases": "disabled",
"notify_pre_releases": false,
},
},
{
id: "input",
name: "Input",
options: {
"controller": "enabled",
"controller": true,
"gamepad": "auto",
"ds4_back_as_touchpad_click": "enabled",
"motion_as_ds4": "enabled",
"touchpad_as_ds4": "enabled",
"ds4_back_as_touchpad_click": true,
"motion_as_ds4": true,
"touchpad_as_ds4": true,
"back_button_timeout": -1,
"keyboard": "enabled",
"keyboard": true,
"key_repeat_delay": 500,
"key_repeat_frequency": 24.9,
"always_send_scancodes": "enabled",
"key_rightalt_to_key_win": "disabled",
"mouse": "enabled",
"high_resolution_scrolling": "enabled",
"native_pen_touch": "enabled",
"always_send_scancodes": true,
"key_rightalt_to_key_win": false,
"mouse": true,
"high_resolution_scrolling": true,
"native_pen_touch": true,
"keybindings": "[0x10,0xA0,0x11,0xA2,0x12,0xA4]", // todo: add this to UI
},
},
Expand All @@ -165,7 +165,7 @@ <h1 class="my-4">{{ $t('config.configuration') }}</h1>
options: {
"audio_sink": "",
"virtual_sink": "",
"install_steam_audio_drivers": "enabled",
"install_steam_audio_drivers": true,
"adapter_name": "",
"output_name": "",
"dd_configuration_option": "verify_only",
Expand All @@ -176,15 +176,15 @@ <h1 class="my-4">{{ $t('config.configuration') }}</h1>
"dd_hdr_option": "auto",
"dd_config_revert_delay": 3000,
"dd_mode_remapping": {"mixed": [], "resolution_only": [], "refresh_rate_only": []},
"dd_wa_hdr_toggle": "disabled",
"dd_wa_hdr_toggle": false,
"min_fps_factor": 1,
},
},
{
id: "network",
name: "Network",
options: {
"upnp": "disabled",
"upnp": false,
"address_family": "ipv4",
"port": 47989,
"origin_web_ui_allowed": "lan",
Expand Down Expand Up @@ -225,12 +225,12 @@ <h1 class="my-4">{{ $t('config.configuration') }}</h1>
options: {
"nvenc_preset": 1,
"nvenc_twopass": "quarter_res",
"nvenc_spatial_aq": "disabled",
"nvenc_spatial_aq": false,
"nvenc_vbv_increase": 0,
"nvenc_realtime_hags": "enabled",
"nvenc_latency_over_power": "enabled",
"nvenc_opengl_vulkan_on_dxgi": "enabled",
"nvenc_h264_cavlc": "disabled",
"nvenc_realtime_hags": true,
"nvenc_latency_over_power": true,
"nvenc_opengl_vulkan_on_dxgi": true,
"nvenc_h264_cavlc": false,
},
},
{
Expand All @@ -239,7 +239,7 @@ <h1 class="my-4">{{ $t('config.configuration') }}</h1>
options: {
"qsv_preset": "medium",
"qsv_coder": "auto",
"qsv_slow_hevc": "disabled",
"qsv_slow_hevc": false,
},
},
{
Expand All @@ -248,10 +248,10 @@ <h1 class="my-4">{{ $t('config.configuration') }}</h1>
options: {
"amd_usage": "ultralowlatency",
"amd_rc": "vbr_latency",
"amd_enforce_hrd": "disabled",
"amd_enforce_hrd": false,
"amd_quality": "balanced",
"amd_preanalysis": "disabled",
"amd_vbaq": "enabled",
"amd_preanalysis": false,
"amd_vbaq": true,
"amd_coder": "auto",
},
},
Expand All @@ -261,14 +261,14 @@ <h1 class="my-4">{{ $t('config.configuration') }}</h1>
options: {
"vt_coder": "auto",
"vt_software": "auto",
"vt_realtime": "enabled",
"vt_realtime": true,
},
},
{
id: "vaapi",
name: "VA-API Encoder",
options: {
"vaapi_strict_rc_buffer": "disabled",
"vaapi_strict_rc_buffer": false,
},
},
{
Expand Down
20 changes: 10 additions & 10 deletions src_assets/common/assets/web/configs/tabs/Inputs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const config = ref(props.config)
></Checkbox>

<!-- Emulated Gamepad Type -->
<div class="mb-3" v-if="config.controller === 'enabled' && platform !== 'macos'">
<div class="mb-3" v-if="config.controller === true && platform !== 'macos'">
<label for="gamepad" class="form-label">{{ $t('config.gamepad') }}</label>
<select id="gamepad" class="form-select" v-model="config.gamepad">
<option value="auto">{{ $t('_common.auto') }}</option>
Expand All @@ -33,7 +33,7 @@ const config = ref(props.config)
<option value="switch">{{ $t("config.gamepad_switch") }}</option>
<option value="xone">{{ $t("config.gamepad_xone") }}</option>
</template>

<template #windows>
<option value="ds4">{{ $t('config.gamepad_ds4') }}</option>
<option value="x360">{{ $t('config.gamepad_x360') }}</option>
Expand All @@ -44,7 +44,7 @@ const config = ref(props.config)
</div>

<!-- Additional options based on gamepad type -->
<template v-if="config.controller === 'enabled'">
<template v-if="config.controller === true">
<template v-if="config.gamepad === 'ds4' || (config.gamepad === 'auto' && platform === 'windows')">
<div class="mb-3 accordion">
<div class="accordion-item">
Expand Down Expand Up @@ -92,7 +92,7 @@ const config = ref(props.config)
</template>

<!-- Home/Guide Button Emulation Timeout -->
<div class="mb-3" v-if="config.controller === 'enabled'">
<div class="mb-3" v-if="config.controller === true">
<label for="back_button_timeout" class="form-label">{{ $t('config.back_button_timeout') }}</label>
<input type="text" class="form-control" id="back_button_timeout" placeholder="-1"
v-model="config.back_button_timeout" />
Expand All @@ -109,23 +109,23 @@ const config = ref(props.config)
></Checkbox>

<!-- Key Repeat Delay-->
<div class="mb-3" v-if="config.keyboard === 'enabled' && platform === 'windows'">
<div class="mb-3" v-if="config.keyboard === true && platform === 'windows'">
<label for="key_repeat_delay" class="form-label">{{ $t('config.key_repeat_delay') }}</label>
<input type="text" class="form-control" id="key_repeat_delay" placeholder="500"
v-model="config.key_repeat_delay" />
<div class="form-text">{{ $t('config.key_repeat_delay_desc') }}</div>
</div>

<!-- Key Repeat Frequency-->
<div class="mb-3" v-if="config.keyboard === 'enabled' && platform === 'windows'">
<div class="mb-3" v-if="config.keyboard === true && platform === 'windows'">
<label for="key_repeat_frequency" class="form-label">{{ $t('config.key_repeat_frequency') }}</label>
<input type="text" class="form-control" id="key_repeat_frequency" placeholder="24.9"
v-model="config.key_repeat_frequency" />
<div class="form-text">{{ $t('config.key_repeat_frequency_desc') }}</div>
</div>

<!-- Always send scancodes -->
<Checkbox v-if="config.keyboard === 'enabled' && platform === 'windows'"
<Checkbox v-if="config.keyboard === true && platform === 'windows'"
class="mb-3"
id="always_send_scancodes"
locale-prefix="config"
Expand All @@ -134,7 +134,7 @@ const config = ref(props.config)
></Checkbox>

<!-- Mapping Key AltRight to Key Windows -->
<Checkbox v-if="config.keyboard === 'enabled'"
<Checkbox v-if="config.keyboard === true"
class="mb-3"
id="key_rightalt_to_key_win"
locale-prefix="config"
Expand All @@ -152,7 +152,7 @@ const config = ref(props.config)
></Checkbox>

<!-- High resolution scrolling support -->
<Checkbox v-if="config.mouse === 'enabled'"
<Checkbox v-if="config.mouse === true"
class="mb-3"
id="high_resolution_scrolling"
locale-prefix="config"
Expand All @@ -161,7 +161,7 @@ const config = ref(props.config)
></Checkbox>

<!-- Native pen/touch support -->
<Checkbox v-if="config.mouse === 'enabled'"
<Checkbox v-if="config.mouse === true"
class="mb-3"
id="native_pen_touch"
locale-prefix="config"
Expand Down