| View previous topic :: View next topic |
| Author |
Message |
WalangAlam
Joined: 03 Feb 2010 Posts: 3
|
Posted: Wed Feb 03, 2010 6:44 pm Post subject: Disable Buttons |
|
|
How do I disable L and R Trigger?
| Code: |
if(( pad.Buttons & PSP_CTRL_LTRIGGER ))
{
//disable L Trigger
}
if(( pad.Buttons & PSP_CTRL_RTRIGGER ))
{
//disable R Trigger
}
|
How do I disable Select button? |
|
| Back to top |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
|
| Back to top |
|
 |
NintendoBoy13
Joined: 18 Jan 2010 Posts: 6
|
Posted: Wed Feb 03, 2010 7:32 pm Post subject: ? |
|
|
What do you mean disable it? Just don't include the code to use it... _________________ Yes I can, but then again why should I? |
|
| Back to top |
|
 |
WalangAlam
Joined: 03 Feb 2010 Posts: 3
|
Posted: Wed Feb 03, 2010 8:27 pm Post subject: |
|
|
| Jim wrote: | Pull the wires off?
Jim |
which one red or blue? I might set off the bomb :(. |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Thu Feb 04, 2010 5:37 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
WalangAlam
Joined: 03 Feb 2010 Posts: 3
|
Posted: Thu Feb 04, 2010 10:11 am Post subject: |
|
|
| 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? |
|
| Back to top |
|
 |
|