libretro / libretro/RetroArch

Touch coordinates are not translated / rotated when using the rotation option

Open
#10,181 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When using cores which utilize the touch input system while having the screen rotated in the settings that touch coordinates are not translated to match the data that cores receives about the screen.

I am not sure if this should be labeled as a bug or enhancement. But I guess it makes sense to implement it in RA since the screen width and height already seems to be changed in the av info passed to cores.

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 touch-input handling and the screen-rotation path described in the issue, including how AV information is passed to cores. Verify how touch coordinates relate to the rotated width and height. Done means touch input is translated consistently with the selected rotation when using affected cores.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.