2024-03-15 17:13:29 +01:00
<template name="config-menu__general">
2024-03-04 08:13:12 +01:00
<head>
</head>
<body>
2024-04-20 17:22:46 +02:00
<form class="config__form" id="conf-general__form">
<div class="config__hz-wrapper" id="conf-general__hz-wrapper">
2024-04-01 19:55:34 +02:00
<!-- Options -->
2024-04-20 17:22:46 +02:00
<div class="config__wrapper" data-event-mouseout="set_cur_config_index(-1)" id="conf-general__wrapper">
2024-04-04 15:32:22 +02:00
<!-- targeting mode -->
2024-04-20 17:22:46 +02:00
<div class="config-option" data-event-mouseover="set_cur_config_index(0)" id="conf-general__Targeting-Mode">
2024-03-04 08:13:12 +01:00
<label class="config-option__title">Targeting Mode</label>
2024-03-15 17:13:29 +01:00
<div class="config-option__list">
2024-04-01 19:55:34 +02:00
<input
type="radio"
2024-04-04 15:32:22 +02:00
data-event-blur="set_cur_config_index(-1)"
data-event-focus="set_cur_config_index(0)"
2024-04-01 19:55:34 +02:00
name="targeting_mode"
data-checked="targeting_mode"
value="Switch"
id="tm_switch"
2024-04-04 15:32:22 +02:00
style="nav-up: #tab_general; nav-down: #rumble_strength_input"
2024-04-01 19:55:34 +02:00
/>
2024-03-04 08:13:12 +01:00
<label class="config-option__tab-label" for="tm_switch">Switch</label>
2024-04-01 19:55:34 +02:00
<input
type="radio"
2024-04-04 15:32:22 +02:00
data-event-blur="set_cur_config_index(-1)"
data-event-focus="set_cur_config_index(0)"
2024-04-01 19:55:34 +02:00
name="targeting_mode"
data-checked="targeting_mode"
value="Hold"
id="tm_hold"
2024-04-04 15:32:22 +02:00
style="nav-up: #tab_general; nav-down: #rumble_strength_input"
2024-04-01 19:55:34 +02:00
/>
2024-03-04 08:13:12 +01:00
<label class="config-option__tab-label" for="tm_hold">Hold</label>
</div>
</div>
2024-04-01 19:55:34 +02:00
2024-04-04 15:32:22 +02:00
<!-- rumble strength -->
<div class="config-option" data-event-mouseover="set_cur_config_index(1)">
2024-03-04 08:13:12 +01:00
<label class="config-option__title">Rumble Strength</label>
2024-03-15 17:13:29 +01:00
<div class="config-option__range-wrapper config-option__list">
2024-04-21 19:14:41 +02:00
<label class="config-option__range-label">{{rumble_strength}}%</label>
2024-04-01 19:55:34 +02:00
<input
class="nav-vert"
2024-04-04 15:32:22 +02:00
data-event-blur="set_cur_config_index(-1)"
data-event-focus="set_cur_config_index(1)"
2024-04-01 19:55:34 +02:00
id="rumble_strength_input"
type="range"
min="0"
max="100"
style="flex: 1; margin: 0dp;"
data-value="rumble_strength"
/>
2024-03-04 08:13:12 +01:00
</div>
</div>
2024-04-21 19:14:41 +02:00
<!-- gyro sensitivity -->
<div class="config-option" data-event-mouseover="set_cur_config_index(2)">
<label class="config-option__title">Gyro Sensitivity</label>
<div class="config-option__range-wrapper config-option__list">
<label class="config-option__range-label">{{gyro_sensitivity}}%</label>
<input
class="nav-vert"
data-event-blur="set_cur_config_index(-1)"
data-event-focus="set_cur_config_index(2)"
id="gyro_sensitivity_input"
type="range"
min="0"
max="100"
style="flex: 1; margin: 0dp;"
data-value="gyro_sensitivity"
/>
</div>
</div>
2024-04-22 00:33:09 +02:00
2024-04-26 07:48:26 +02:00
<!-- mouse sensitivity -->
<div class="config-option" data-event-mouseover="set_cur_config_index(3)">
<label class="config-option__title">Mouse Sensitivity</label>
<div class="config-option__range-wrapper config-option__list">
<label class="config-option__range-label">{{mouse_sensitivity}}%</label>
<input
class="nav-vert"
data-event-blur="set_cur_config_index(-1)"
data-event-focus="set_cur_config_index(3)"
id="mouse_sensitivity_input"
type="range"
min="0"
max="100"
style="flex: 1; margin: 0dp;"
data-value="mouse_sensitivity"
/>
</div>
</div>
2024-04-22 00:33:09 +02:00
<!-- targeting mode -->
2024-04-26 07:48:26 +02:00
<div class="config-option" data-event-mouseover="set_cur_config_index(4)" id="conf-general__Background-Input">
2024-04-22 00:33:09 +02:00
<label class="config-option__title">Background Input</label>
<div class="config-option__list">
<input
type="radio"
data-event-blur="set_cur_config_index(-1)"
2024-04-26 07:48:26 +02:00
data-event-focus="set_cur_config_index(4)"
2024-04-22 00:33:09 +02:00
name="background_input_mode"
data-checked="background_input_mode"
value="On"
id="bg_input_enabled"
2024-04-26 07:48:26 +02:00
style="nav-up: #mouse_sensitivity_input"
2024-04-22 00:33:09 +02:00
/>
<label class="config-option__tab-label" for="bg_input_enabled">On</label>
<input
type="radio"
data-event-blur="set_cur_config_index(-1)"
2024-04-26 07:48:26 +02:00
data-event-focus="set_cur_config_index(4)"
2024-04-22 00:33:09 +02:00
name="background_input_mode"
data-checked="background_input_mode"
value="Off"
id="bg_input_disabled"
2024-04-26 07:48:26 +02:00
style="nav-up: #mouse_sensitivity_input"
2024-04-22 00:33:09 +02:00
/>
<label class="config-option__tab-label" for="bg_input_disabled">Off</label>
</div>
</div>
2024-03-04 08:13:12 +01:00
</div>
2024-04-01 19:55:34 +02:00
<!-- Descriptions -->
<div class="config__wrapper">
2024-04-04 15:32:22 +02:00
<p data-if="cur_config_index == 0">
2024-04-22 15:30:31 +02:00
Controls how targeting enemies and objects works. <b>Switch</b> will start or stop targeting each time the target button is pressed. <b>Hold</b> will start when the target button is pressed and stop when the button is released.
2024-04-01 19:55:34 +02:00
</p>
2024-04-04 15:32:22 +02:00
<p data-if="cur_config_index == 1">
2024-04-22 15:30:31 +02:00
Controls the strength of rumble when using a controller that supports it. <b>Setting this to zero will disable rumble.</b>
2024-04-01 19:55:34 +02:00
</p>
2024-04-21 19:14:41 +02:00
<p data-if="cur_config_index == 2">
2024-04-22 15:30:31 +02:00
Controls the sensitivity of gyro aiming when using items in first person for controllers that support it. <b>Setting this to zero will disable gyro.</b>
<br />
<br />
<b>Note: To recalibrate controller gyro, set the controller down on a still, flat surface for 5 seconds.</b>
2024-04-21 19:14:41 +02:00
</p>
2024-04-22 00:33:09 +02:00
<p data-if="cur_config_index == 3">
2024-04-26 07:48:26 +02:00
Controls the sensitivity of mouse aiming when using items in first person for controllers that support it. <b>Setting this to zero will disable mouse aiming.</b>
<br />
<br />
<b>Note: This option does not allow mouse buttons to activate items. Mouse aiming is meant for using inputs that are mapped to mouse movement, such as gyro on Steam Deck.</b>
</p>
<p data-if="cur_config_index == 4">
2024-04-22 00:33:09 +02:00
Allows the game to read controller input when out of focus.
<br/>
<b>This setting does not affect keyboard input.</b>
</p>
2024-04-01 19:55:34 +02:00
</div>
2024-03-04 08:13:12 +01:00
</div>
</form>
</body>
</template>