Zelda64Recomp/assets/config_menu/general.rml

71 lines
3.4 KiB
Plaintext
Raw Normal View History

<template name="config-menu__general">
<head>
</head>
<body>
<form class="config__form">
2024-04-01 17:55:34 +00:00
<div class="config__hz-wrapper">
<!-- Options -->
<div class="config__wrapper" data-event-mouseout="set_cur_config_index(-1)">
2024-04-04 13:32:22 +00:00
<!-- targeting mode -->
<div class="config-option" data-event-mouseover="set_cur_config_index(0)">
<label class="config-option__title">Targeting Mode</label>
<div class="config-option__list">
2024-04-01 17:55:34 +00:00
<input
type="radio"
2024-04-04 13:32:22 +00:00
data-event-blur="set_cur_config_index(-1)"
data-event-focus="set_cur_config_index(0)"
2024-04-01 17:55:34 +00:00
name="targeting_mode"
data-checked="targeting_mode"
value="Switch"
id="tm_switch"
2024-04-04 13:32:22 +00:00
style="nav-up: #tab_general; nav-down: #rumble_strength_input"
2024-04-01 17:55:34 +00:00
/>
<label class="config-option__tab-label" for="tm_switch">Switch</label>
2024-04-01 17:55:34 +00:00
<input
type="radio"
2024-04-04 13:32:22 +00:00
data-event-blur="set_cur_config_index(-1)"
data-event-focus="set_cur_config_index(0)"
2024-04-01 17:55:34 +00:00
name="targeting_mode"
data-checked="targeting_mode"
value="Hold"
id="tm_hold"
2024-04-04 13:32:22 +00:00
style="nav-up: #tab_general; nav-down: #rumble_strength_input"
2024-04-01 17:55:34 +00:00
/>
<label class="config-option__tab-label" for="tm_hold">Hold</label>
</div>
</div>
2024-04-01 17:55:34 +00:00
2024-04-04 13:32:22 +00:00
<!-- rumble strength -->
<div class="config-option" data-event-mouseover="set_cur_config_index(1)">
<label class="config-option__title">Rumble Strength</label>
<div class="config-option__range-wrapper config-option__list">
<label class="config-option__range-label">{{rumble_strength}}</label>
2024-04-01 17:55:34 +00:00
<input
class="nav-vert"
2024-04-04 13:32:22 +00:00
data-event-blur="set_cur_config_index(-1)"
data-event-focus="set_cur_config_index(1)"
2024-04-01 17:55:34 +00:00
id="rumble_strength_input"
type="range"
min="0"
max="100"
style="flex: 1; margin: 0dp;"
data-value="rumble_strength"
/>
</div>
</div>
</div>
2024-04-01 17:55:34 +00:00
<!-- Descriptions -->
<div class="config__wrapper">
2024-04-04 13:32:22 +00:00
<p data-if="cur_config_index == 0">
Whether or not targeting is done incorrectly, or targets while you hold the button.
2024-04-01 17:55:34 +00:00
</p>
2024-04-04 13:32:22 +00:00
<p data-if="cur_config_index == 1">
How much your controller go brrrrr
2024-04-01 17:55:34 +00:00
</p>
</div>
</div>
</form>
</body>
</template>