libretro / libretro/RetroArch

[Feature Request] hotkey for switching screen aspect Ratio

Open
#14,495 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

On many handheld consoles it could be very handy to be able to switch screen aspect ratio with an hotkey. It is justified by the fact that there are many different opionion on the subject : hardcore and purist retrogamers want to keep aspect ratio and others just want to uuse all the surface of the screen. We also see users who switch depending the game. The result is that many users want to switch the screen aspect ratio and it is not very handy through the menu.
Some request example here, here

Expected behavior

Have a hotkey avaible to switch between the main differents aspects ratio.
There are 3 settings available :

  • integer scale
  • keep aspect ratio
  • crop overscan

The idea is to switch between the 4 possibilities availble during run (without restart so we drop out "crop overscan" option).
To illustrate :

image

Actual behavior

No hotkey available to switch between different screen values. To test one idfferent ratio you hate to go in RA menu : settings -> video -> sclaing -> keep aspect ratio

Thanks

Thank you so much for this great piece of software ! :)

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

Start at the Settings → Video → Scaling path described in the issue and trace how the listed aspect-ratio modes are selected. Then inspect the existing runtime hotkey behavior and determine how cycling should work without a restart. Done means a hotkey switches between the intended modes during gameplay.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.