Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[DONE]How to get button status in code?
06-25-2014, 07:01 PM (This post was last modified: 06-26-2014 01:56 AM by rnynoise.)
Post: #1
Question [DONE]How to get button status in code?
Hi there, I'm sorry for asking such a simple question, because I'm a green hand to PPSSPP codes, and just begin from yestoday. =(
I'm working on the "0xD" cheat code now, you know there are some code depend on button state, I tried to find this by myself but failed...
Here are an example:
int buttonStatus; // ut32 buttonStatus? be used as a buffer to save button status
when TRIANGLE and CIRCLE is push, the value should be like this
buttonStatus = 0x00001000 + 0x00002000 // should be 0x00003000
I just want to know how to get the value of "0x00001000" and "0x00002000" or "0x00003000" in code?Angel
thx for you read, and do me a favor plz Heart
Find all posts by this user
Quote this message in a reply
06-25-2014, 07:10 PM
Post: #2
RE: [HELP]How to get button status in code?
Presently, joker commands on cheat codes don't work with PPSSPP (usually starts with "0xD"). Big Grin

WATCH MY MHFU GAMEPLAY VIDS AT: https://www.youtube.com/user/TheBarbanium
Have I been helpful to you in any way, nya?
You can click that "+" button ▼ to raise my reputation, meow!
Find all posts by this user
Quote this message in a reply
06-25-2014, 07:13 PM (This post was last modified: 06-26-2014 01:55 AM by rnynoise.)
Post: #3
RE: [HELP]How to get button status in code?
To: barbanium
yes, you are right, that's what i'm trying to add to the code =).
To: [Unknow]
Thx very much!!

thx to [Unknow], I think it's finished now =)
uploaded, I'd like to hear if there are any problems.Wink
Find all posts by this user
Quote this message in a reply
06-25-2014, 11:19 PM
Post: #4
RE: [HELP]How to get button status in code?
Include Core/HLE/sceCtrl.h and use __CtrlPeekButtons().

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: