Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ajb2011
Visitor

ECP: Valid Keys for the Netflix or A/B buttons?

Hi,

Taking a break from eating turkey. best wishes to you all! I was just wondering, does anyone know how to access the two bottom keys on the remote through ECP (i.e. send commands that mimic those buttons)?
I have looked through the External Control Guide but I don't see what I could use there in terms of Valid Keys.

I am referring to the Netflix/Pandora/Crackle buttosn or the A/B buttons.
Any ideas?

Thank you!
0 Kudos
3 REPLIES 3
destruk
Streaming Star

Re: ECP: Valid Keys for the Netflix or A/B buttons?

As Netflix/Pandora/Crackle would be dedicated buttons whose only purpose is to launch their own channel -
query/apps This ‘query/apps’ returns a map of all the channels installed on the Roku box paired with their app id.
Then
launch takes an app id as an argument and a list of url parameters that are sent to the app id as an roAssociativeArray passed the the RunUserInterface() or Main() entry point.

So, you could launch Crackle, Pandora, or Netflix that way without needing the button itself.

I don't know what the A and B buttons are called as they aren't listed in the documentation.
0 Kudos
ajb2011
Visitor

Re: ECP: Valid Keys for the Netflix or A/B buttons?

Thanks for the reply destruk. I was aware of the query/app and then launching channels, so perhaps I should narrow my ask down to the A/B buttons. I don't see anything documented either, so I wonder if they are supported through ECP.
0 Kudos
destruk
Streaming Star

Re: ECP: Valid Keys for the Netflix or A/B buttons?

They should be supported by ECP - just we're waiting for the rest of the documentation.... I'm sure they'll get it to us eventually.
If it's of any help to you, Button "A" responds as # 17, and Button "B" responds as # 18.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.