Difference between revisions of "Emulate Remote Keys"

From WikiDLXTV
Jump to: navigation, search
Line 34: Line 34:
 
You can also use the '''''irinject''''' command like this:
 
You can also use the '''''irinject''''' command like this:
 
  irinject POWER
 
  irinject POWER
 +
 +
 +
 +
 +
----
 +
--[[User:Recliq|Recliq]] 16:08, 10 November 2011 (UTC)

Revision as of 08:08, 10 November 2011

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 16:08, 10 November 2011 (UTC)