22.12.2013 Views

Roku Object Reference - imaginArt

Roku Object Reference - imaginArt

Roku Object Reference - imaginArt

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

oIRRemote<br />

The key code from <strong>Roku</strong>’s custom code using the NEC protocol is decoded and sent as an event. Use this<br />

object to register your Event port.<br />

Interfaces:<br />

• ifSetMessagePort interface:<br />

SetPort(message_port_object As <strong>Object</strong>) As Void<br />

roIRRemotePress<br />

Messages are generated on <strong>Roku</strong> Soundbridge remote key presses. These have the ifInt interface with the<br />

useful function:<br />

Interfaces:<br />

• ifInt – contains keycode<br />

GetInt() As Integer<br />

The Integer returned can have one of the following values:<br />

West 0<br />

East 1<br />

North 2<br />

South 3<br />

Select 4<br />

Exit 5<br />

Power 6<br />

Menu 7<br />

Search 8<br />

Play 9<br />

Next 10<br />

Previous 11<br />

Pause 12<br />

Add 13<br />

Shuffle 14<br />

Repeat 15<br />

Volume up 16<br />

Volume down 17<br />

Brightness 18<br />

22

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!