Advertising (This ad goes away for registered users. You can Login or Register)

My own buttons for force exit

Half Byte loader is an open source tool to load homebrews on all models of PSPs
Half Byte Loader can be downloaded at //wololo.net/wagic/hbl
Post Reply
User avatar
black star
Posts: 369
Joined: Fri Oct 01, 2010 8:30 pm

My own buttons for force exit

Post by black star » Sat Nov 20, 2010 2:12 pm

Hi, I want my own buttons to select for force exit.
I really don't like select+start.
How can I configure this?
I'm using r107 with wMenu v0.3.
Advertising

Mr. X
Retired Mod
Posts: 528
Joined: Tue Sep 28, 2010 8:01 am
Location: England

Re: My own buttons for force exit

Post by Mr. X » Sat Nov 20, 2010 2:30 pm

hbl_config.txt
# 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
That explains it fairly well IMO. I use Right Trigger + Left Trigger + Start + Select as my force exit combo, so that would be 200 (Right Trigger) + 100 (Left Trigger) + 8 (Start) + 1 (Select) = 309. So then I'd change "force_exit_buttons=0x00000009" to "force_exit_buttons=0x00000309".
Advertising
All HBL Revisions: Binaries + Source | Topic
TN HEN Releases: Download

User avatar
black star
Posts: 369
Joined: Fri Oct 01, 2010 8:30 pm

Re: My own buttons for force exit

Post by black star » Sat Nov 20, 2010 2:45 pm

You explained very well, thanks :)

Post Reply

Return to “Half Byte Loader”