libretro / libretro/RetroArch

[IMPORTANT] Left mouse button does not work in Android

Open
#17,222 12 comments 2 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

Mouse work well on Android and Google TV for apps with native pointer support, like PPSSPP for easy PlayStation Portable emulation setup.

RetroArch lacks a visible mouse pointer on Android, relying instead on scroll-wheel navigation and mouse buttons for menu traversal and configuration. However, the left mouse button fails to register clicks on menu items, preventing direct selection despite scroll and right-click functionality.

Related:

Expected behavior

Left mouse button should work.

Actual behavior

Left mouse button does not work. For me it either:

  • Didn't work at all
  • The menu item activates on mouse down but reverts on mouse up, rendering it unusable.
Steps to reproduce the bug
  • Connect a mouse (Bluetooth, or via USB hub) in Android
  • Open RetroArch.
  • Enable mouse support:
    • Navigate to Settings -> User Interface
    • Toggle Mouse Support on
  • Test the mouse
    • Press the right mouse button, it moves one level up in the menu as expected
    • Scroll: It also works as expected
    • Press the left mouse button, it does not behave as expected.
Version/Commit

1.22.2

Bisect Results

No response

Present in the nightly version

I don't know

Platform & operating system

See "Environment information"

Affected Cores

No response

Environment information

Setup 1:

  • RetroArch apk: RetroArch_aarch64.apk
  • Operating System: Android 10
  • Device: LG G7 ThinQ

Setup 2:

  • RetroArch apk: RetroArch_ra32.apk
  • Operating System: Google TV 14
  • Device: Google TV Streamer
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

No source file or test is named. Reproduce on Android or Google TV with mouse support enabled, checking left-click against the working right-click and scroll behavior; done means left-button selection remains activated on mouse release without reverting.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.