squirreltown
13 years agoRoku Guru
Default button sounds
I have some RemoteKeyPressed command that are doing what i want, but there is no sound (the standard Roku button sounds) probably because of how I've written it. Is there a way to make sure you get the regular sounds? I'm referring to the up and OK buttons. In the code below the info button sounds but the other two do not.
Thanks
while true
msg = wait(0,canvas.getmessageport())
if msg.isscreenclosed() return 0
if msg.isRemoteKeyPressed()
if msg.GetIndex() = 10
canvas.Close()
return 0
end if
endif
if msg.isRemoteKeyPressed()
if msg.GetIndex() = 6
canvas.Close()
return 0
end if
endif
if msg.isRemoteKeyPressed()
if msg.GetIndex() = 2
canvas.Close()
return 0
end if
endif
end while
Thanks