libretro / libretro/RetroArch

[Feature Request] "Rewind (Toggle)"

Open
#18,131 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Add "Rewind (Toggle)" hotkey

It would be great to add “Rewind (Toggle)” since currently only “Rewind” [hold] is available. Introducing the toggle variant would improve usability and bring consistency with other similar keybindings found in Settings -> Input -> Hotkeys, making the controls more intuitive for users.

Modify the current "Rewind" hotkey

Background

Currently, the rewind hotkey variables are named without the _hold suffix:

input_rewind = "nul"
input_rewind_axis = "nul"
input_rewind_btn = "nul"
input_rewind_mbtn = "nul"

In contrast, the fast-forward hotkey variables use a consistent naming pattern that includes _hold:

input_hold_fast_forward = "nul"
input_hold_fast_forward_axis = "nul"
input_hold_fast_forward_btn = "nul"
input_hold_fast_forward_mbtn = "nul"

Additionally, the UI label for rewind in Settings -> Input -> Hotkeys reads:

Rewind

whereas fast-forward is labeled as:

Fast Forward (Hold)

Request

  • Rename rewind hotkey variables to add the _hold suffix, making them consistent with fast-forward variables:
input_hold_rewind = "nul"
input_hold_rewind_axis = "nul"
input_hold_rewind_btn = "nul"
input_hold_rewind_mbtn = "nul"
  • Update the UI label in Settings -> Input -> Hotkeys from:

    Rewind

    to:

    Rewind (Hold)

Benefits

  • Ensures consistent variable naming conventions across similar hotkeys with "hold" behavior.
  • Improves clarity and readability for developers and users configuring inputs.
  • Aligns UI labeling to clearly communicate that rewind operates while holding the key, just like fast-forward.
  • Reduces potential confusion and increases maintainability.

Please consider this small but impactful change to improve consistency and usability.

Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named in the issue. Start by searching for the existing rewind variables and the Settings → Input → Hotkeys entries, then trace the current hold behavior and its coverage; done means the renamed hold bindings and a working Rewind (Toggle) entry are reflected consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.