Very new to Lua, need button "if"s

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
IndianCheese
Posts: 1
Joined: Mon Feb 27, 2006 1:38 pm

Very new to Lua, need button "if"s

Post by IndianCheese »

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.
Gh0sT
Posts: 5
Joined: Tue Jun 06, 2006 2:38 am

Post by Gh0sT »

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
cools
Posts: 46
Joined: Sat Mar 04, 2006 12:57 pm

Post by cools »

http://wiki.ps2dev.org/psp:lua_player:f ... s#controls

^Good place for all the lua player funcs!^
Post Reply