Post: 1.15 Key_isDown
09-29-2013, 07:34 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys, today i release a LOCAL CLIENT button monitoring. Why release? Because you can use dpads.
I take no credit for the function.

    private bool Key_Down(int client, int buttonIndex)
{
if(buttonIndex < 0) return false;
byte[] key = new byte[4];
PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0xFFFFFFFF, (ulong)(0xF0A74C + (buttonIndex << 4) + (client * 0x112Cool Man (aka Tustin)), ref key);
Array.Reverse(key);
return BitConverter.ToInt32(key, 0) == 1;
}

//example of how to use

private void ExampleFunction()
{
if(Key_Down(0, 0x11))
{
MessageBox.Show("Host is pressing R3!");
}
else
{
MessageBox.Show("Host is not pressing R3!");
}
}


Here are the Button Indexes To use
    
0x01 - X
0x02 - Circle
0x03 - Square
0x04 - Triangle
0x05 - L1
0x06 - R1
0x0E - Start
0x0F - Select
0x10 - L3
0x11 - R3
0x12 - L2
0x13 - R2
0x14 - Dpad Up
0x15 - Dpad Down
0x16 - Dpad Left
0x17 - Dpad Right


Enjoy Happy

Credits:
Choco: Original Function
Me: Updating Offset
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Paradox1337 for this useful post:

Shark

The following user groaned Paradox1337 for this awful post:

Whos Your Host
09-29-2013, 07:58 PM #2
Mythusala
Rekt It Ralph
does this mean cgf modding???
10-16-2013, 06:24 AM #3
Hash847
Purple God
No, What this means is if a client press's a button (R1 for example) it can teleport them under the map into a death barrier :P

Or if (what shark did) made it so it BINDS to R2 so when you press it it makes you fly.

*HOST IS REQUIRED*
10-16-2013, 08:06 AM #4
Passport
I am error
Originally posted by WinterModder View Post
No, What this means is if a client press's a button (R1 for example) it can teleport them under the map into a death barrier :P

Or if (what shark did) made it so it BINDS to R2 so when you press it it makes you fly.

*HOST IS REQUIRED*

Thats called flymode.... and isnt binded to anything Facepalm
10-16-2013, 08:12 AM #5
zZHackzZ
Climbing up the ladder
Originally posted by Passport View Post
Thats called flymode.... and isnt binded to anything Facepalm


its called mFlag if your going to get smart about it , i think you understand what he is trying to say right? he was only explaining it
10-16-2013, 10:38 AM #6
Passport
I am error
Originally posted by zZHackzZ View Post
its called mFlag if your going to get smart about it , i think you understand what he is trying to say right? he was only explaining it

mFlag doesnt exist in BO2 Facepalm
10-16-2013, 10:51 AM #7
zZHackzZ
Climbing up the ladder
Originally posted by Passport View Post
mFlag doesnt exist in BO2 Facepalm


Tell Enstone That Enzo

The following 2 users say thank you to zZHackzZ for this useful post:

milky4444, John
10-16-2013, 11:17 AM #8
Passport
I am error
Originally posted by zZHackzZ View Post
Tell Enstone That Enzo


Enstone constructed his own Noclip and UFO using PPC Facepalm once again u fail.
If it existed in BO2 everyone would find it

The following user thanked Passport for this useful post:

{H} | Exception
12-07-2013, 03:02 AM #9
{H} | Exception
Error… Cat invasion!
Originally posted by Paradox1337 View Post
Hey guys, today i release a LOCAL CLIENT button monitoring. Why release? Because you can use dpads.
I take no credit for the function.

    private bool Key_Down(int client, int buttonIndex)
{
if(buttonIndex < 0) return false;
byte[] key = new byte[4];
PS3TMAPI.ProcessGetMemory(0, PS3TMAPI.UnitType.PPU, ProcessID, 0xFFFFFFFF, (ulong)(0xF0A74C + (buttonIndex << 4) + (client * 0x112Cool Man (aka Tustin)), ref key);
Array.Reverse(key);
return BitConverter.ToInt32(key, 0) == 1;
}

//example of how to use

private void ExampleFunction()
{
if(Key_Down(0, 0x11))
{
MessageBox.Show("Host is pressing R3!");
}
else
{
MessageBox.Show("Host is not pressing R3!");
}
}


Here are the Button Indexes To use
    
0x01 - X
0x02 - Circle
0x03 - Square
0x04 - Triangle
0x05 - L1
0x06 - R1
0x0E - Start
0x0F - Select
0x10 - L3
0x11 - R3
0x12 - L2
0x13 - R2
0x14 - Dpad Up
0x15 - Dpad Down
0x16 - Dpad Left
0x17 - Dpad Right


Enjoy Happy

Credits:
Choco: Original Function
Me: Updating Offset


I luh u now...

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo