Disable Buttons

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
WalangAlam
Posts: 3
Joined: Wed Feb 03, 2010 6:40 pm

Disable Buttons

Post by WalangAlam »

How do I disable L and R Trigger?

Code: Select all

if(( pad.Buttons & PSP_CTRL_LTRIGGER ))
{
   //disable L Trigger
}

if(( pad.Buttons & PSP_CTRL_RTRIGGER ))
{
   //disable R Trigger
}
How do I disable Select button?
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

Pull the wires off?
Jim
NintendoBoy13
Posts: 6
Joined: Mon Jan 18, 2010 8:41 am

?

Post by NintendoBoy13 »

What do you mean disable it? Just don't include the code to use it...
Yes I can, but then again why should I?
WalangAlam
Posts: 3
Joined: Wed Feb 03, 2010 6:40 pm

Post by WalangAlam »

Jim wrote:Pull the wires off?
Jim
which one red or blue? I might set off the bomb :(.
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

Hook the sceCtrl* syscalls to disable them in games. vshCtrl* for XMB.
For kernel buttons like volume, note etc and plugins you need to hook the kernel versions of the sceCtrl* functions.
WalangAlam
Posts: 3
Joined: Wed Feb 03, 2010 6:40 pm

Post by WalangAlam »

Torch wrote:Hook the sceCtrl* syscalls to disable them in games. vshCtrl* for XMB.
For kernel buttons like volume, note etc and plugins you need to hook the kernel versions of the sceCtrl* functions.
thanks Torch.

is danzel updated his RemaPSP? got the source code and will use it as an example

any updated hb similar to RemaPSP?
Post Reply