Emulate Remote Keys

From WikiDLXTV
Revision as of 13:09, 17 January 2012 by Point (Talk | contribs)

Jump to: navigation, search

You can emulate keys pressed on remote by sending characters to /tmp/ir_injection.

Method 1

Example:
To emulate a press of the POWER button on remote you can do this in telnet:

echo w > /tmp/ir_injection


w - POWER
o - HOME
u - UP
l - LEFT
n - ENTER
r - RIGHT
d - DOWN
T - BACK
t - STOP
G - OPTION
H - REWIND
p - PLAY/PAUSE
I - FORWARD
[ - PREVIOUS
] - NEXT
E - SEARCH
X - EJECT


Method 2

You can also use the irinject command like this:

irinject POWER



--Recliq 10 November 2011


Method 3

(Works at least on WDTV Live devices, having a factory f/w 1.06.15 replaced by WDLXTV f/w 1.05.04 0.5.1.1)

Connect to raw TCP port 30000 on your WDTV:

telnet <wdtv ip-address> 30000

and start sending keys, followed by ENTER:

x- POWER
O - HOME
U - UP
L - LEFT
k - ENTER
R - RIGHT
D - DOWN
o - BACK
s - STOP
m - OPTION
w - REWIND
? - PLAY/PAUSE (not known yet)
f - FORWARD
v - PREVIOUS
n - NEXT
? - SEARCH (not known yet)
j - EJECT

Additionally, the following keys work:

i - display infobar
L - display subtitles
ENTER - acts as ENTER

--Point 21:09, 17 January 2012 (UTC)