forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Very new to Lua, need button "if"s

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
IndianCheese



Joined: 27 Feb 2006
Posts: 1

PostPosted: Tue May 15, 2007 12:20 pm    Post subject: Very new to Lua, need button "if"s Reply with quote

Could someone provide me will all of the "if" calls for buttons? I only know:

if pad:cross()
if pad:circle()
if pad:square()
if pad:triangle()

What I am mainly looking for are the arrow and L/R trigger calls, but the system function row (start, select, home, vol +-, screen, note) calls would be useful, too.
Back to top
View user's profile Send private message
Gh0sT



Joined: 06 Jun 2006
Posts: 5

PostPosted: Thu May 24, 2007 8:54 am    Post subject: Reply with quote

pad:up()
pad:down()
pad:left()
pad:right()
pad:triangle()
pad:circle()
pad:cross()
pad:square()
pad:l()
pad:r()
pad:analogX()
pad:analogY()
pad:note()
pad:home()
pad:start()
pad:select()
...

Maybe more, dunno. :)

Greets,
Gh0sT
Back to top
View user's profile Send private message
cools



Joined: 04 Mar 2006
Posts: 46

PostPosted: Sat May 26, 2007 10:50 am    Post subject: Reply with quote

http://wiki.ps2dev.org/psp:lua_player:functions#controls

^Good place for all the lua player funcs!^
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group