Page 1 of 1

Return to menu key combination

Posted: Sat Mar 10, 2012 10:23 pm
by wth
Why not have a return to menu key combination in HBL ?
Because games without any exit option require to relaunch HBL after, not really handy

I intend to add a thread or smthg, checking for this key combination and returning to the menu if pressed, in my port of HBL to my exploit

(could be made configurable in hbl_config.txt actually)

Re: Return to menu key combination

Posted: Mon Mar 12, 2012 1:08 pm
by wololo
We already have something similar to go back to the xmb, I assume we could use this to go back to HBL, especially on the vita where "going back to the xmb" just crashes the whole thing

Re: Return to menu key combination

Posted: Mon Mar 12, 2012 7:48 pm
by m0skit0
Exiting the game should get you to the HBL menu again, and anyway, IIRC this was already implemented, and by you, wololo:

Code: Select all

# force_exit_button
# combination of buttons to press to force exit a homebrew and return to HBL
# useful for homebrews that don't have an exit menu, since the HOME button doesn't work in HBL
# use hex values
#  PSP_CTRL_SELECT = 0x000001, PSP_CTRL_START = 0x000008, PSP_CTRL_UP = 0x000010, PSP_CTRL_RIGHT = 0x000020,
# PSP_CTRL_DOWN = 0x000040, PSP_CTRL_LEFT = 0x000080, PSP_CTRL_LTRIGGER = 0x000100, PSP_CTRL_RTRIGGER = 0x000200,
#  PSP_CTRL_TRIANGLE = 0x001000, PSP_CTRL_CIRCLE = 0x002000, PSP_CTRL_CROSS = 0x004000, PSP_CTRL_SQUARE = 0x008000,
# For example select + start is 1+8 = 0x9
#
# Comment out for performance
force_exit_buttons=0x00000009

Re: Return to menu key combination

Posted: Mon Mar 12, 2012 11:40 pm
by wololo
Haha, you're right. I thought that was to go back to the xmb, but that's actually to go back to hbl... Did anybody confirm it works on the vita?

Re: Return to menu key combination

Posted: Thu Mar 15, 2012 11:42 pm
by wth
m0skit0 wrote:Exiting the game should get you to the HBL menu again, and anyway, IIRC this was already implemented, and by you, wololo:

Code: Select all

# force_exit_button
# combination of buttons to press to force exit a homebrew and return to HBL
# useful for homebrews that don't have an exit menu, since the HOME button doesn't work in HBL
# use hex values
#  PSP_CTRL_SELECT = 0x000001, PSP_CTRL_START = 0x000008, PSP_CTRL_UP = 0x000010, PSP_CTRL_RIGHT = 0x000020,
# PSP_CTRL_DOWN = 0x000040, PSP_CTRL_LEFT = 0x000080, PSP_CTRL_LTRIGGER = 0x000100, PSP_CTRL_RTRIGGER = 0x000200,
#  PSP_CTRL_TRIANGLE = 0x001000, PSP_CTRL_CIRCLE = 0x002000, PSP_CTRL_CROSS = 0x004000, PSP_CTRL_SQUARE = 0x008000,
# For example select + start is 1+8 = 0x9
#
# Comment out for performance
force_exit_buttons=0x00000009
oh really :mrgreen: awesome I'll try thx ^^

Edit :
Works perfectly ! Awesome :)