mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-11-16 11:03:55 +01:00
overlays: Double dpad repeat rate
This commit is contained in:
1 parent
9aa9cbf1d8
commit
fd2bc95a7b
1 file changed
+2
-2
@@ -257,9 +257,9 @@ namespace rsx
|
||||
{
|
||||
if (button_id < 4) // d-pad button
|
||||
{
|
||||
if (!button_state[pad_index][button_id] || input_timer.GetMsSince(timestamp[pad_index]) > 400)
|
||||
if (!button_state[pad_index][button_id] || input_timer.GetMsSince(timestamp[pad_index]) > 200)
|
||||
{
|
||||
// d-pad button was not pressed, or was pressed more than 400ms ago
|
||||
// d-pad button was not pressed, or was pressed more than 200ms ago
|
||||
timestamp[pad_index] = std::chrono::steady_clock::now();
|
||||
on_button_pressed(static_cast<pad_button>(button_id));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user