agmark
14 years agoVisitor
isRemoteKeyPressed
I'm trying to capture the remote key presses in a springboard, but I'm only getting a response from the right (5) and left (4) buttons. I've used the up, down and info (*) buttons with an imagecanvas, but I can't seem to get it right with a springboard screen. I've tried numerous iterations, but nothing is returning a response. Shouldn't the following print more than just the right and left button presses? I've also tried isButtonInfo with no luck either. Can someone explain the right usage?
if type(msg) = "roSpringboardScreenEvent" then
if msg.isScreenClosed()
print "Screen closed"
exit while
else if msg.isRemoteKeyPressed()
print "Remote key pressed"