Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Fulfilled] Pause menu button for all platforms
02-19-2014, 02:04 PM (This post was last modified: 02-25-2014 11:19 AM by TheDax.)
Post: #1
[Fulfilled] Pause menu button for all platforms
Hello,
First of all great work on PPSSPP to all devs. Keep it up really good work.

Suggestion / request about additional on screen key / button with the same functionality as Escape.

I do own Yoga portable and when I do use it in tablet mode keyboard is not active and there is no way to go back to the menu. Especially in full screen mode.

It would be nice if new button with functionality "go to the menu" was added into app.

Best regards
Find all posts by this user
Quote this message in a reply
02-19-2014, 11:14 PM
Post: #2
RE: Custom key on screen
There actually is a button already in the code for this, but on everything but iOS, it's disabled. Probably couldn't hurt to have a toggle of some sort to hide or show it on non-iOS platforms.

4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
Find all posts by this user
Quote this message in a reply
02-20-2014, 02:22 AM
Post: #3
RE: Custom key on screen
It would be really great as nowadays more and more non iOS / Android devices popup and with hybrid like Yoga this optiom would really help a lot.

Now when I do play a game I need to "unfold" from tablet into "laptop" mode so it's kind of troublesome to operate this emu in tablet mode.

Would it be possible to enable it in feature releases? The code for this shouldn't take much time. Do you think that i's there a chance so it will be available on all platforms? For this one maybe disable visibility by default and user need to enable it in toggle key panel? I know that demand for this is probably low (with exception for iOS) but It would save me a loot of the time as I wouldn't need to compile emu myself.

Best regards.
Find all posts by this user
Quote this message in a reply
02-20-2014, 02:42 AM
Post: #4
RE: Custom key on screen
I'll bring up the idea on Github tomorrow and see what the general reaction is. It's only a few lines of code to make it available for everybody, and add an option under the touch control section.

4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
Find all posts by this user
Quote this message in a reply
02-20-2014, 05:56 AM
Post: #5
RE: Custom key on screen
Thank You very much I would really appreciate.

In addition to what I wrote there is also another matter that would solve this issue for me. On my device (Thinkpad Yoga) there is hw button (like multimedia key) with brings up Window Metro Ui. Unfortunatly it's not picked up when I do want to bind this key to "Pause" action.
Find all posts by this user
Quote this message in a reply
02-20-2014, 06:16 AM
Post: #6
RE: Custom key on screen
That's probably hardwired to be the Start button for your system, so there's not much to do with that in PPSSPP. As far as I know, it's reserved by the OS, so it can't have its behaviour changed.

4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
Find all posts by this user
Quote this message in a reply
02-20-2014, 06:38 AM (This post was last modified: 02-20-2014 06:43 AM by Talei.)
Post: #7
RE: Custom key on screen
Thanks for Your reply.

No it's not, it;s just register as any key on os and underlying settings (probably some Lenovo apps, didn't checked that) do send to the OS "Metro Ui request".

Code example (base on Qt, I didn't looked at the code so I don't know how input is handled):

Code:
void MainWindow::keyPressEvent(QKeyEvent *e)
{
    qDebug() << Q_FUNC_INFO << e->key();
}

Output when pressing "Home / Show metro Ui key".

Code:
void __thiscall MainWindow::keyPressEvent(class QKeyEvent *) 16777250 <- key id

So the problem in PPSSPP is that this key is not recognized. I didn't looked at the code as I'm bussy with the work but in my free time I will look at this issue.

PS. If I do check "Ignore Windows key" then menu/metro ui don't show up and probably key that do trigger this can be assigned to something different in PPSSPP.
Find all posts by this user
Quote this message in a reply
02-24-2014, 08:27 PM
Post: #8
RE: Custom key on screen
Hello,
Any news about this issue?
Find all posts by this user
Quote this message in a reply
02-25-2014, 05:44 AM (This post was last modified: 02-25-2014 08:41 AM by TheDax.)
Post: #9
RE: Custom key on screen
For the Windows key remapping thing, no.

For the pause button visibility: https://github.com/hrydgard/ppsspp/pull/5568.

The pause button will be available for all platforms in the next build (check the buildbot if you want it now, or wait until the next major release).

Note: The exact option text in the screenshot might be a bit different when you see it, but basically, look for "Show pause menu button" under the touch control section. Currently you cannot move its position on-screen, either.

[Image: i35EE7cwZEPBE.jpg]
[Image: iGhKVrVOc52XU.jpg]

4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
Find all posts by this user
Quote this message in a reply
02-25-2014, 11:17 AM
Post: #10
RE: Custom key on screen
Hello,
Thank You for bringing that option.
With this on I can leave without mapping for "multimedia keys / show menu key" (I guess it's registered as one of these).

Yet again great job with this emu.

Keep it up, GREAT job all dev's !!!
Find all posts by this user
Quote this message in a reply
02-25-2014, 11:19 AM
Post: #11
RE: Custom key on screen
No problem.

Marked topic as Fulfilled.

4GHz AMD 3900X, 32GB DDR4 RAM, 6GB Nvidia RTX 2060, Asus Crosshair 7 Hero (Wifi), Linux
How to ask useful questions: https://web.archive.org/web/20110214010944/http://support.microsoft.com/kb/555375
I'm not Dark_Alex, nor do I claim to be. Our nicknames are merely coincidence.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: