Rename Back Button Timeout and disable it by default
Users don't expect long presses of the back button to not work out of the box.
This commit is contained in:
@@ -156,14 +156,12 @@ back_button_timeout
|
|||||||
^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
**Description**
|
**Description**
|
||||||
If, after the timeout, the back/select button is still pressed down, Home/Guide button press is emulated.
|
If the Back/Select button is held down for the specified number of milliseconds, a Home/Guide button press is emulated.
|
||||||
|
|
||||||
On Nvidia Shield, the home and power button are not passed to Moonlight.
|
|
||||||
|
|
||||||
.. Tip:: If back_button_timeout < 0, then the Home/Guide button will not be emulated.
|
.. Tip:: If back_button_timeout < 0, then the Home/Guide button will not be emulated.
|
||||||
|
|
||||||
**Default**
|
**Default**
|
||||||
``2000``
|
``-1``
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|||||||
@@ -429,7 +429,7 @@ namespace config {
|
|||||||
{ 0x11, 0xA2 },
|
{ 0x11, 0xA2 },
|
||||||
{ 0x12, 0xA4 },
|
{ 0x12, 0xA4 },
|
||||||
},
|
},
|
||||||
2s, // back_button_timeout
|
-1ms, // back_button_timeout
|
||||||
500ms, // key_repeat_delay
|
500ms, // key_repeat_delay
|
||||||
std::chrono::duration<double> { 1 / 24.9 }, // key_repeat_period
|
std::chrono::duration<double> { 1 / 24.9 }, // key_repeat_period
|
||||||
|
|
||||||
|
|||||||
@@ -334,23 +334,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="currentTab === 'input'" class="config-page">
|
<div v-if="currentTab === 'input'" class="config-page">
|
||||||
<!--Back Button Timeout-->
|
<!--Home/Guide Button Emulation Timeout-->
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="back_button_timeout" class="form-label"
|
<label for="back_button_timeout" class="form-label"
|
||||||
>Back Button Timeout</label
|
>Home/Guide Button Emulation Timeout</label
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
id="back_button_timeout"
|
id="back_button_timeout"
|
||||||
placeholder="2000"
|
placeholder="-1"
|
||||||
v-model="config.back_button_timeout"
|
v-model="config.back_button_timeout"
|
||||||
/>
|
/>
|
||||||
<div class="form-text">
|
<div class="form-text">
|
||||||
The back/select button on the controller.<br />
|
If the Back/Select button is held down for the specified number of milliseconds, a Home/Guide button press is emulated.<br />
|
||||||
On the Shield, the home and power button are not passed to Moonlight.<br />
|
If set to a value < 0 (default), holding the Back/Select button will not emulate the Home/Guide button.<br />
|
||||||
If, after the timeout, the back button is still pressed down, Home/Guide button press is emulated.<br />
|
|
||||||
If back_button_timeout < 0, then the Home/Guide button will not be emulated<br />
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!--Enable Mouse Input-->
|
<!--Enable Mouse Input-->
|
||||||
|
|||||||
Reference in New Issue
Block a user