libretro / libretro/RetroArch

[Feature Request]: Support video rotation via Network API

Open
#17,006 4 comments 0 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

I'd like to be able to remotely rotate the screen. This would be useful for 2 player single controller MAME games that only enable the 2nd player's controls when in cocktail mode. The reason to rotate the screen is to flip the screen back 180 degrees when switching between player 1 and 2 (rather than shuffling seats!). This is for a side by side console.

e.g. if using netcat:

echo "VIDEO_ROTATE" | nc -u -c localhost 55355

Optionally taking one of the existing 4 arguments (Normal | 90 | 180 | 270)

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 by tracing RetroArch's Network API handling for the netcat example and the existing video-rotation arguments: Normal, 90, 180, and 270. Done means a VIDEO_ROTATE request can remotely select the requested orientation, including 180-degree rotation, for the side-by-side console use case; verify it by sending the example request.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.