Skip to content

Cannot map hotkey to virtual gamepad (RetroPad overlay) Android #18653

@HaleyHalcyon

Description

@HaleyHalcyon

Is there an existing issue for this?

Description

I am trying to map taking a screenshot to an on-screen button on Android. I am playing a Nintendo DS game, so I won’t need L2, R2, L3, or R3. R3 was mapped to “joystick touchscreen” in the core settings, but since I’m playing on smartphone, I decided I didn’t need it and unmapped it.

However, when I plugged in at external controller and mapped the “Screenshot” shortcut to R3, the on-screen R3 button did not do the same thing as the external controller’s R3.

And when I try to remap the shortcuts by setting the on-screen controller overlay to not disappear in the menu, the controller mapping dialog does not respond to any of the on-screen controller buttons, not just R3.

Video: https://streamable.com/t2shyw

Expected behavior

I should either be able to:

  1. map “Screenshot” to R3, then have the on-screen R3 button take a screenshot, or:
  2. map specifically the on-screen R3 button to taking a screenshot

Steps to reproduce the bug

Seen in the video:

  1. While the on-screen controller overlay is set to not hide in the menu...
  2. Go to hotkey mapping
  3. Try to map R3 to “Screenshot” using the Overlay

Version/Commit

1.20.0, Git 7a5fcd4

Bisect Results

No response

Present in the nightly version

I don't know

Platform & operating system

Android 15 (Motorola Moto g64)

Affected Cores

melonDS, possibly all others?

Environment information

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions