Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable hotkeys button #11960

Open
eadmaster opened this issue Apr 4, 2019 · 7 comments
Open

enable hotkeys button #11960

eadmaster opened this issue Apr 4, 2019 · 7 comments

Comments

@eadmaster
Copy link

eadmaster commented Apr 4, 2019

I'd like to suggest adding an "Enable hotkeys" button like the one in RetroArch.

This is useful when using gamepads that don't have enough buttons to map each emulation command individually. In my case i'm using a Buffalo SNES controller on Android and i'd like to have the Save/Load state command on the L/R triggers and still be able to use them for gameplay.

A configurable combo for pausing the emulator and opening the menu would be useful too (e.g. in Retroarch i'm using Start+Select).

@LunaMoo
Copy link
Collaborator

LunaMoo commented Apr 4, 2019

Just to note: In PPSSPP you can set many different keys which when pressed will do same thing, can also set one key which when pressed will activate many different actions, but activating action by a combination of two or more keys was never and isn't supported.(Edit: Not counting hardcoded hotkeys on windows and combo keys which are touch only.)

@eadmaster eadmaster changed the title [R] enable hotkeys button enable hotkeys button Apr 4, 2019
@eadmaster
Copy link
Author

eadmaster commented Apr 4, 2019

I knew this was possible, btw in my case i don't want to save a state everytime i press the R button (and viceversa), so assigning the same key/button to different actions is not an option.

@LunaMoo
Copy link
Collaborator

LunaMoo commented Apr 4, 2019

Everything is possible, but what I noted means PPSSPP currently does not have any UI for setting key combinations(outside of touch controls) and it would mean much more work to design and create such than simply adding another hotkey that would for example switch between in-game controls and other functions.

@unknownbrackets
Copy link
Collaborator

I know that @iota97 had worked on a slightly different setup for this, where you could map a combination of keys to an action (i.e. only press X when you press buttons 1 and 2 on your controller together.)

I think that approach is more versatile than a fixed button that toggles all other buttons to secondary behavior. That said, it's probably easier to explain in the UI that a secondary switch can be used.

-[Unknown]

@iota97
Copy link
Contributor

iota97 commented Apr 3, 2022

Just to note: unknown is talking about #14793 (that have a big "how the heck we do the UI" blocker).

But even #15406 can be used as a solution for the problem (tho' a totally not user friendly way of doing it):

  • Assign the "gameplay keys" to Profile 1
  • Assign the "hotkey keys" to Profile 2
  • In Profile 1 bind select (as an example) to Load control profile 2
  • In Profile 2 bind select to Load control profile 1

This will have select as a toggle button for the hotkey, to know in which state you are you can (as an example):

  • In Profile 1 disable touch controls
  • In Profile 2 enable touch controls
  • Disable the visibility of all touch controls but a custom button
  • Set this button to have no bind and a gear icon, place it in the screen corner

@ghost
Copy link

ghost commented Dec 29, 2022

This wasn't cover by 57b4cd3?

@iota97
Copy link
Contributor

iota97 commented Dec 29, 2022

Nope, this is about physical controller ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants