IR / RF Remote Controls for Windows: Links to Explanations, Tutorials, and Guides
(2009-03-15, 14:36)steford Wrote: I'd like to add my experiences on getting the Cyberlink cheap remote (£5.99 Play.com) set up for use with XBMC using EventGhost.

Initially I found the idea of Eventghost quite confusing but after installing and playing with it it's very simple and I'm now using it for various other things on my HTPC.

I used this site for the basics and added 3 Mouse HID device plugins in XBMC giving them separate prefixes of 1, 2 and 3. 1 of these can be ommited if you don't need to detect the power button although worth adding at the start (can be removed later). You'll also notice that some keys eg up, down, left, right are already detected as keyboard commands and will work "out of the box" in XBMC.

It's now worth going through every button on the remote and seeing what event it triggers in Eventghost so you'll have a nice list on the left which can be dragged to wherever you like when creating actions. I jotted down the corresponding event on the chart from the site above.

Initially I used the XBMC plugin to create events in XBMC however this seemed to remove the nice click sounds associated with remote presses and be slightly erratic (although some of the extra functionality is handy). I then grabbed the key list for XBMC and added those that I required to my chart mapping a remote button to a keyboard command - simple.

In Eventghost it was then just a matter of adding a macro to catch a remote keypress (drag the event across from the left) and emulating a keystroke eg the Play button on the remote is detected as "2.Button.1" which should emulate a "p" key for use in XBMC. This was repeated for each button that wasn't seen as a keypress - only 12 buttons for my setup. I made a folder called "Remote" in the "Context Folder" to house all this to keep it neat. The XML export is below

Quote:<Folder Name="Remote" Expanded="True">
<Macro Name="Play">
<Event Name="2.Button.1" />
<Action>
Window.SendKeys(u'p', False)
</Action>
</Macro>
<Macro Name="Pause">
<Event Name="2.Button.0" />
<Action>
Window.SendKeys(u'{Space}', False)
</Action>
</Macro>
<Macro Name="Stop">
<Event Name="Keyboard.MediaStop" />
<Action>
Window.SendKeys(u'x', False)
</Action>
</Macro>
<Macro Name="Fast Forward">
<Event Name="2.Button.4" />
<Action>
Window.SendKeys(u'f', False)
</Action>
</Macro>
<Macro Name="Rewind">
<Event Name="2.Button.5" />
<Action>
Window.SendKeys(u'r', False)
</Action>
</Macro>
<Macro Name="Previous Menu">
<Event Name="2.Button.13" />
<Action>
Window.SendKeys(u'{Escape}', False)
</Action>
</Macro>
<Macro Name="Context Menu">
<Event Name="3.Button.5" />
<Action>
Window.SendKeys(u'{Apps}', False)
</Action>
</Macro>
<Macro Name="Info">
<Event Name="2.Button.6" />
<Action>
Window.SendKeys(u'i', False)
</Action>
</Macro>
<Macro Name="Aspect Ratio">
<Event Name="3.Button.7" />
<Action>
Window.SendKeys(u'z', False)
</Action>
</Macro>
<Macro Name="Parent Dir">
<Event Name="3.Button.1" />
<Action>
Window.SendKeys(u'{Backspace}', False)
</Action>
</Macro>
<Macro Name="Show Subtitles" Enabled="False">
<Event Name="3.Button.4" />
<Action>
Window.SendKeys(u's', False)
</Action>
</Macro>
<Macro Name="Page Up">
<Event Name="2.Button.15" />
<Action>
Window.SendKeys(u'{PageUp}', False)
</Action>
</Macro>
<Macro Name="Page Down">
<Event Name="2.Button.14" />
<Action>
Window.SendKeys(u'{PageDown}', False)
</Action>
</Macro>
</Folder>
That's pretty much it. I only have a basic setup currently matching my old XBOX version and £5.99 was a good price for the remote and USB receiver. I've learnt the remote commands on my multi-remote so the original can now sit in a drawer. I'm also using Eventghost to start/stop things on the HTPC when I remote desktop to it and to monitor folders for new downloads - so it's a very worthy addition to any HTPC for the remote and other applications.

Hope this helps someone get into EventGhost which can seem quite daunting at first and utilise cheap remote hardware.

I would like to add an update to stetford's post on this subject as it is quite well written\indexed and I was unable to find a guide encompassing the advances in EventGhost since this post, which have made the process even simpler. My steps were as follows:

1. Install latest version of EventGhost with default options which at this moment in time is v. 0.4.1.r1572

2. On the right hand pane of EventGhost delete everything below the Start logo

3. Go to Configuration > Add Plugin > Remote Receiver > Cyberlink Universal Remote Control (let Windows update the driver)

4. Go to Configuration > Add Plugin > Program Control > XBMC2

5. Under the XBMC2 folder on the right hand pane expand the Buttons > Remote folder

6. Now press the required buttons on your remote one at a time to bring up the command on the left pane

7. Drag and drop the command from the left pane to the relevant function under the expanded right pane folder

8. Repeat steps 6-7 for all required buttons on your remote (I got to around 20 buttons)

9. Save the final configuration to an XML filename of your choice

10. Go to File > Options and select Autostart EventGhost to system startup

11. Launch XBMC > System > Network > Remote Control and select Allow programs on this system to control XBMC

12. Disable Windows Media Centre as this seems to interfere with some of the remote commands - Start > Control Panel > Programs > Turn Windows features on or off > Media Features > Windows Media Center (uncheck)

13. You may add even further remote functionality under the EventGhost XBMC2 Actions folder, which I cannot remember the detail of right now. Feel free to PM me if you need further guidance on this area
Reply


Messages In This Thread
[No subject] - by Swwethip1 - 2008-10-08, 21:15
[No subject] - by dhrandy - 2008-10-10, 07:35
Girder instead of event ghost - by tytherman - 2008-10-16, 10:11
[No subject] - by rausch101 - 2008-10-17, 01:10
[No subject] - by dgodot - 2008-11-23, 07:33
[No subject] - by nekrosoft13 - 2008-12-11, 19:46
[No subject] - by Bestekar - 2008-12-15, 04:01
[No subject] - by azido - 2008-12-17, 23:34
[No subject] - by gnomie - 2008-12-23, 00:23
[No subject] - by eQUIV - 2008-12-23, 11:32
[No subject] - by gnomie - 2008-12-23, 18:50
[No subject] - by AceJosh - 2008-12-24, 02:02
[No subject] - by qrsy2k - 2008-12-24, 16:47
[No subject] - by gnomie - 2008-12-29, 20:25
[No subject] - by Freebyrd - 2009-01-02, 13:28
[No subject] - by role2682 - 2009-01-22, 22:35
[No subject] - by alessio2 - 2009-01-23, 15:35
Another Xbox Remote Tutorial - by waldo22 - 2009-02-11, 08:14
[No subject] - by archer75 - 2009-02-15, 02:39
[No subject] - by waldo22 - 2009-02-15, 05:55
[No subject] - by archer75 - 2009-02-15, 07:42
[No subject] - by Darth Meatloaf - 2009-02-15, 10:38
[No subject] - by archer75 - 2009-02-16, 01:22
[No subject] - by david81 - 2009-02-16, 17:50
[No subject] - by archer75 - 2009-02-16, 17:56
[No subject] - by waldo22 - 2009-02-16, 20:50
[No subject] - by JPL4 - 2009-02-19, 01:43
[No subject] - by Riderzzz - 2009-02-20, 13:40
[No subject] - by Darth Meatloaf - 2009-02-23, 05:53
[No subject] - by Riderzzz - 2009-02-24, 15:14
[No subject] - by yecora - 2009-03-09, 17:34
[No subject] - by Livin - 2009-03-09, 18:29
[No subject] - by yecora - 2009-03-09, 19:04
[No subject] - by User 9163 - 2009-03-15, 14:36
RE: XBMC (Eden) + Cyberlink Remote + Windows 7 - by navster - 2012-07-30, 23:22
[No subject] - by kinison - 2009-03-17, 02:56
Cyberlink Remote - by marcoxcosta - 2009-04-04, 22:58
[No subject] - by Dam0 - 2009-04-05, 08:48
Speedlink SL-6399 MCE clone - by Radestock - 2009-04-07, 21:21
[No subject] - by ArturDent - 2009-04-08, 14:00
[No subject] - by gquiring - 2009-04-11, 18:57
[No subject] - by ArturDent - 2009-04-15, 14:14
[No subject] - by slekkas - 2009-04-16, 13:16
[No subject] - by ArturDent - 2009-04-16, 13:21
Keyboard emulated Remote - by langmarker - 2009-04-20, 09:33
[No subject] - by Vorm - 2009-04-21, 12:26
[No subject] - by ArturDent - 2009-04-21, 12:39
[No subject] - by Vorm - 2009-04-21, 12:50
[No subject] - by Vorm - 2009-04-22, 01:13
[No subject] - by ArturDent - 2009-04-25, 16:20
[No subject] - by Vorm - 2009-04-26, 10:20
[No subject] - by User 9163 - 2009-05-02, 13:04
[No subject] - by rflores2323 - 2009-05-19, 17:41
[No subject] - by gui - 2009-05-22, 04:38
[No subject] - by Dam0 - 2009-06-05, 09:22
[No subject] - by six_storm - 2009-06-06, 06:06
[No subject] - by six_storm - 2009-06-06, 15:40
[No subject] - by echnaton - 2009-06-13, 18:34
laptop running xp - by rlefig - 2009-06-20, 22:40
[No subject] - by cgmark - 2009-06-26, 23:17
[No subject] - by jochenz - 2009-07-07, 16:45
[No subject] - by gui - 2009-07-12, 02:52
[No subject] - by kury - 2009-07-16, 23:30
[No subject] - by petermarshall15 - 2009-07-17, 11:23
[No subject] - by needtotest - 2009-07-17, 12:24
[No subject] - by Jesse - 2009-07-18, 08:46
[No subject] - by cgmark - 2009-07-31, 03:23
[No subject] - by kronos - 2009-08-18, 02:09
[No subject] - by jochenz - 2009-08-27, 10:41
[No subject] - by natethomas - 2009-08-27, 11:08
[No subject] - by jochenz - 2009-08-27, 12:15
[No subject] - by Peligrozo - 2009-08-30, 14:03
[No subject] - by zoing - 2009-09-07, 18:05
[No subject] - by bittihuduga - 2009-10-11, 17:32
[No subject] - by Dam0 - 2009-10-15, 10:03
[No subject] - by gui - 2009-10-25, 05:47
[No subject] - by zoing - 2009-10-25, 09:47
[No subject] - by gui - 2009-10-25, 15:41
[No subject] - by Dam0 - 2009-10-26, 08:43
[No subject] - by gui - 2009-10-27, 16:00
[No subject] - by sesam - 2009-11-09, 02:42
[No subject] - by sesam - 2009-11-09, 03:53
[No subject] - by phvrc2nt - 2009-11-10, 07:47
[No subject] - by ramzing - 2009-11-10, 23:15
[No subject] - by phvrc2nt - 2009-11-11, 06:48
[No subject] - by WheeZ50 - 2009-11-15, 05:17
[No subject] - by Influenza - 2009-12-17, 09:34
[No subject] - by jarzeb - 2009-12-17, 11:59
[No subject] - by gui - 2010-01-04, 19:58
[No subject] - by Drbell - 2010-01-25, 02:06
[No subject] - by Booman - 2010-03-18, 10:25
[No subject] - by Dam0 - 2010-04-08, 12:20
[No subject] - by vanMiez - 2010-07-20, 14:37
[No subject] - by vanOert - 2010-07-20, 20:23
[No subject] - by elitegamer360 - 2010-08-06, 00:27
[No subject] - by Jester - 2010-08-29, 17:28
[No subject] - by yatahaze - 2010-09-07, 07:25
[No subject] - by PKOneTwo - 2010-09-10, 22:29
[No subject] - by RandomXBMCUser - 2010-09-10, 22:37
[No subject] - by PKOneTwo - 2010-09-10, 22:47
[No subject] - by yatahaze - 2010-09-10, 23:35
[No subject] - by PKOneTwo - 2010-09-10, 23:55
[No subject] - by RandomXBMCUser - 2010-09-11, 01:28
[No subject] - by elitegamer360 - 2010-09-19, 15:29
[No subject] - by modernninja - 2010-10-11, 04:59
[No subject] - by yatahaze - 2010-10-27, 20:41
[No subject] - by vbat99 - 2010-12-03, 00:33
[No subject] - by ventman27 - 2011-01-04, 21:37
[No subject] - by YoshiFtJ - 2011-01-05, 20:03
[No subject] - by 2fast2cool - 2011-01-07, 12:22
[No subject] - by fishypops - 2011-03-08, 02:52
[No subject] - by Jpaytoncfd - 2011-03-11, 03:28
[No subject] - by Jpaytoncfd - 2011-03-11, 04:10
[No subject] - by uncola - 2011-05-06, 10:40
[No subject] - by SityiSXT - 2011-05-31, 22:57
[No subject] - by KARobards - 2011-08-03, 02:57
[No subject] - by samapico - 2011-08-17, 03:45
[No subject] - by eMTea - 2011-10-05, 13:27
[No subject] - by yunti - 2011-10-26, 15:39
[No subject] - by yunti - 2011-10-28, 00:09
[No subject] - by a5ian300zx - 2011-10-29, 14:36
[No subject] - by neal73 - 2012-01-11, 11:56
[No subject] - by apachesp - 2012-01-23, 15:02
Please help - by VictorDUA - 2012-02-01, 13:35
[No subject] - by cfg9000 - 2012-02-08, 03:10
[No subject] - by spongemonkey - 2012-03-01, 04:33
[No subject] - by sergiocos - 2012-03-02, 03:10
Logout Mark Read Team Forum Stats Members Help
IR / RF Remote Controls for Windows: Links to Explanations, Tutorials, and Guides7