New EventGhost EventClient for XBMC available

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
kirs Offline
Junior Member
Posts: 15
Joined: Sep 2008
Reputation: 0
Thumbs Up  New EventGhost EventClient for XBMC available
Post: #1
I took over dev of the EventGhost plugin from topfs2. The new plugin is available here:

http://www.eventghost.org/forum/viewtopic.php?t=1005

This will allow you to program all keys from the remote as well as several other actions you can map on a Harmony remote.

You'll need the latest beta of EventGhost to ensure this works:

http://www.eventghost.org/downloads/

Feel free to let me know if you want anything added to the plugin.
(This post was last modified: 2008-09-30 22:49 by kirs.)
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 10
Location: Sweden
Question  EventClient?
Post: #2
Cool! Cool So is this an continuation of the EventGhost EventClient for XBMC's EventServer API? Confused
See => http://forum.xbmc.org/showthread.php?tid=34080
and => http://forum.xbmc.org/showthread.php?tid=33812

Gamester17 Wrote:http://wiki.xbmc.org/index.php?title=EventServer
You will also find EventClient examples in both C++ and python in the XBMC SVN.
Look under "/xbmc/branches/linuxport/XBMC/tools/EventClients/"

PS Please refrain from calling it a "plugin" as plugins means something else in XBMC terminology Wink

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2008-10-01 11:59 by Gamester17.)
find quote
topfs2 Offline
Team-Kodi Developer
Posts: 4,045
Joined: Dec 2007
Reputation: 10
Post: #3
@Gamester17 it's a plugin for EventGhost. It is an EventClient for XBMC. Duality at it's best Smile

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
kirs Offline
Junior Member
Posts: 15
Joined: Sep 2008
Reputation: 0
Post: #4
Gamester17 Wrote:Cool! Cool So is this an continuation of the EventGhost EventClient for XBMC's EventServer API? Confused
See => http://forum.xbmc.org/showthread.php?tid=34080
and => http://forum.xbmc.org/showthread.php?tid=33812

Yes, I picked up where Topfs2 left off. It's been folded into the EventGhost distribution and will be in the next beta.

Quote:PS Please refrain from calling it a "plugin" as plugins means something else in XBMC terminology

Got it Wink
(This post was last modified: 2008-10-01 15:44 by kirs.)
find quote
anyo Offline
Member
Posts: 82
Joined: Mar 2008
Reputation: 0
Post: #5
This plugin is awesome! Thanks!!!

Is there a way to assign a button that will start XBMC when its pressed, but do something else when XBMC is already running?
find quote
kirs Offline
Junior Member
Posts: 15
Joined: Sep 2008
Reputation: 0
Post: #6
anyo Wrote:This plugin is awesome! Thanks!!!

Is there a way to assign a button that will start XBMC when its pressed, but do something else when XBMC is already running?

You can tell EventGhost to start XBMC when a button is pressed with the built-in "start program" action.

I mapped the start button on my MCE remote to start XBMC, bring it to the front, then give remote exclusivity to XBMC with the "enable exclusive" action.
find quote
xbs08 Offline
Posting Freak
Posts: 1,707
Joined: May 2008
Reputation: 7
Location: Portugal
Post: #7
For this to work i have to install eventghost and copy the "plugin" files to XBMC, right?
Are the remote keys already mapped or i've to map it myself?

Sry, if these are dumb questions Smile

  • Intel NUC Kit DN2820FYKH
  • Crucial DDR3L SO-DIMM 4GB
  • SanDisk ReadyCache 32GB SSD
  • Microsoft MCE model 1039 RC6 remote
find quote
Goofy2 Offline
Junior Member
Posts: 41
Joined: Aug 2008
Reputation: 0
Post: #8
xbs08 Wrote:For this to work i have to install eventghost and copy the "plugin" files to XBMC, right?
Are the remote keys already mapped or i've to map it myself?

Sry, if these are dumb questions Smile

As far as I understand, you need to map them yourself unless someone provide eventghost xml configuration for your remote.
find quote
Goofy2 Offline
Junior Member
Posts: 41
Joined: Aug 2008
Reputation: 0
Post: #9
Does anyone tried to use gamepad? Eventghost's "Joystick" and "XBMC" plugins can be used together, however there is no support for d-pad cursor or right stick.

I also tried general HID plugin, but it behaves strange in meaning that e.g. pressing a button on gamepad sends a bunch of the same action, or pressing d-pad "up" generates 4 events with space in name (I don't know how to map these to actions)...

There seems to be some definition for AXIS support in the plugin python source files. I there a way to use analog sticks or triggers?

Also sorry, for such dumb questions :-)
find quote
CrazyIvan Offline
Senior Member
Posts: 159
Joined: Dec 2004
Reputation: 0
Post: #10
Does this work with an old xbox dvd remote and receiver with the Xbox to PC USB adapter?

cheers,

crazyivan
find quote
Livin Offline
Posting Freak
Posts: 3,535
Joined: May 2004
Reputation: 17
Location: above ground
Post: #11
here's an XML from another app BUT the codes and they keys are the same and can be converted to EG ... please post bak if you convert to EG and get it working...

Code:
<?xml version="1.0"?>
<uirt>
  <key name="Power">
    <code>804B5400A4F5</code>
    <code>804B5400A4F5</code>
  </key>
  <key name="Stop">
    <code>801B4100A5F5</code>
    <code>801B4100A5F5</code>
  </key>
  <key name="Record">
    <code>805B1500A5F5</code>
    <code>805B1500A5F5</code>
  </key>
  <key name="Play">
    <code>804F0000A5F5</code>
    <code>804F0000A5F5</code>
  </key>
  <key name="Pause">
    <code>805F0100A5F5</code>
    <code>805F0100A5F5</code>
  </key>
  <key name="Rewind">
    <code>800F5400A5F5</code>
    <code>800F5400A5F5</code>
  </key>
  <key name="FastForward">
    <code>801A5000A5F5</code>
    <code>801A5000A5F5</code>
  </key>
  <key name="SkipBackward">
    <code>801E5400A4F5</code>
    <code>801E5400A4F5</code>
  </key>
  <key name="SkipForward">
    <code>800A4100A4F5</code>
    <code>800A4100A4F5</code>
  </key>
  <key name="Back">
    <code>805E0000A4F5</code>
    <code>805E0000A4F5</code>
  </key>
  <key name="Info">
    <code>801A1000A4F5</code>
    <code>801A1000A4F5</code>
  </key>
  <key name="Up">
    <code>805F0100A0F5</code>
    <code>805F0100A0F5</code>
  </key>
  <key name="Down">
    <code>804A0500A0F5</code>
    <code>804A0500A0F5</code>
  </key>
  <key name="Left">
    <code>804E1100A0F5</code>
    <code>804E1100A0F5</code>
  </key>
  <key name="Right">
    <code>805B1500A0F5</code>
    <code>805B1500A0F5</code>
  </key>
  <key name="Ok">
    <code>805A4400B5F5</code>
    <code>805A4400B5F5</code>
  </key>
  <key name="Exit">
    <code>805B0500A4F5</code>
    <code>805B0500A4F5</code>
  </key>
  <key name="Option">
    <code>805E1000A5F5</code>
    <code>805E1000A5F5</code>
  </key>
  <key name="Windows">
    <code>5511402A14D0</code>
    <code>8015115111D0</code>
  </key>
  <key name="VolumeUp">
    <code>801B5100A4F5</code>
    <code>801B5100A4F5</code>
  </key>
  <key name="VolumeDown">
    <code>800E5500A4F5</code>
    <code>800E5500A4F5</code>
  </key>
  <key name="ChannelUp">
    <code>800F4400A4F5</code>
    <code>800F4400A4F5</code>
  </key>
  <key name="ChannelDown">
    <code>801A4000A4F5</code>
    <code>801A4000A4F5</code>
  </key>
  <key name="Mute">
    <code>801B0100A4F5</code>
    <code>801B0100A4F5</code>
  </key>
  <key name="Video">
    <code>804A4500B5F5</code>
    <code>804A4500B5F5</code>
  </key>
  <key name="Music">
    <code>804E5100B5F5</code>
    <code>804E5100B5F5</code>
  </key>
  <key name="Guide">
    <code>801A1000A4F5</code>
    <code>801A1000A4F5</code>
  </key>
  <key name="TV">
    <code>800E1500B4F5</code>
    <code>800E1500B4F5</code>
  </key>
  <key name="Menu">
    <code>804A5500A5F5</code>
    <code>804A5500A5F5</code>
  </key>
  <key name="Photos">
    <code>805F4100B5F5</code>
    <code>805F4100B5F5</code>
  </key>
  <key name="One">
    <code>801F1500A4F5</code>
    <code>801F1500A4F5</code>
  </key>
  <key name="Two">
    <code>801E0400A4F5</code>
    <code>801E0400A4F5</code>
  </key>
  <key name="Three">
    <code>800B0000A4F5</code>
    <code>800B0000A4F5</code>
  </key>
  <key name="Four">
    <code>805A4400A4F5</code>
    <code>805A4400A4F5</code>
  </key>
  <key name="Five">
    <code>804F4000A4F5</code>
    <code>804F4000A4F5</code>
  </key>
  <key name="Six">
    <code>804E5100A4F5</code>
    <code>804E5100A4F5</code>
  </key>
  <key name="Seven">
    <code>805B5500A4F5</code>
    <code>805B5500A4F5</code>
  </key>
  <key name="Eight">
    <code>804A4500A4F5</code>
    <code>804A4500A4F5</code>
  </key>
  <key name="Nine">
    <code>805F4100A4F5</code>
    <code>805F4100A4F5</code>
  </key>
  <key name="Zero">
    <code>800A1100A4F5</code>
    <code>800A1100A4F5</code>
  </key>
  <key name="Star">
    <code>805B1500B4F5</code>
    <code>805B1500B4F5</code>
  </key>
  <key name="Sharp">
    <code>804E4100A5F5</code>
    <code>804E4100A5F5</code>
  </key>
  <key name="Clear">
    <code>805E0000A4F5</code>
    <code>805E0000A4F5</code>
  </key>
  <key name="Enter">
    <code>805A4400B5F5</code>
    <code>805A4400B5F5</code>
  </key>
  <key name="Red">
    <code>3F2C1EF340F1</code>
    <code>3F2C1FF350F1</code>
  </key>
  <key name="Green">
    <code>412EC4F340F1</code>
    <code>412EC5F350F1</code>
  </key>
  <key name="Yellow">
    <code>412EC4F340F1</code>
    <code>3F2C13F350F1</code>
  </key>
  <key name="Blue">
    <code>412EC0F340F1</code>
    <code>412EC1F350F1</code>
  </key>
  <key name="A">
    <code>
    </code>
    <code>
    </code>
  </key>
  <key name="B">
    <code />
    <code />
  </key>
  <key name="C">
    <code />
    <code />
  </key>
  <key name="D">
    <code />
    <code />
  </key>
  <key name="E">
    <code />
    <code />
  </key>
  <key name="F">
    <code />
    <code />
  </key>
  <key name="G">
    <code />
    <code />
  </key>
  <key name="H">
    <code />
    <code />
  </key>
</uirt>

I'm not an expert but I play one at work.
find quote
anyo Offline
Member
Posts: 82
Joined: Mar 2008
Reputation: 0
Post: #12
FYI for anyone using beta 2 and this eventghost plugin... any context menu that comes up will not respond to anything but the keyboard...

It is described on the EG forum here:
http://www.eventghost.org/forum/viewtopi...5&start=15

and a trac ticket is open for it too here:
http://trac.xbmc.org/ticket/5122
find quote
Swwethip1 Offline
Senior Member
Posts: 106
Joined: Sep 2008
Reputation: 0
Post: #13
anyo Wrote:FYI for anyone using beta 2 and this eventghost plugin... any context menu that comes up will not respond to anything but the keyboard...

It is described on the EG forum here:
http://www.eventghost.org/forum/viewtopi...5&start=15

and a trac ticket is open for it too here:
http://trac.xbmc.org/ticket/5122

looks like the ticket is closed, and fixed in build 15829


By using EG, do we still have to use the keymap.xml for xbmc?
find quote
topfs2 Offline
Team-Kodi Developer
Posts: 4,045
Joined: Dec 2007
Reputation: 10
Post: #14
Swwethip1 Wrote:looks like the ticket is closed, and fixed in build 15829


By using EG, do we still have to use the keymap.xml for xbmc?

Nope, it sends actions so everything is "mapped" in EventGhost.
Just for better usage some events are buttons IIRC like Up because it does different things throughout the GUI.

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
anyo Offline
Member
Posts: 82
Joined: Mar 2008
Reputation: 0
Post: #15
Topfs2 Wrote:Nope, it sends actions so everything is "mapped" in EventGhost.
Just for better usage some events are buttons IIRC like Up because it does different things throughout the GUI.

Exactly... that's why I like this plugin so much... since you can't realistically map keys on your remote for all the corresponding keyboard presses
find quote
Post Reply