libretro / libretro/RetroArch

Right stick is upside down when using SDL

Open
#18,268 2 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

Is there an existing issue for this?
  • This is a bug in RetroArch frontend
  • I have searched the existing issues
Description

Whenever I play a game using SDL, the right stick is upside down. I was experiencing this issue when emulating Nintendo 64 and Nintendo DS games.

Expected behavior

The right stick needs to function how it's supposed to be like the other input drivers.

Steps to reproduce the bug
  1. Change the code to reverse the axis direction
  2. That's it
Version/Commit

1.21.0

Bisect Results

No response

Present in the nightly version

I don't know

Platform & operating system

Windows 11

Affected Cores

No response

Environment information

No response

Relevant log output

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 reproducing the SDL controller behavior on Windows 11 and locate the SDL input-driver handling for the right-stick axes, then compare it with the other input drivers. Done means the right stick has the expected orientation when playing the affected Nintendo 64 and Nintendo DS games.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.