PDA

View Full Version : New EventGhost EventClient for XBMC available


kirs
2008-09-30, 19:34
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.

Gamester17
2008-10-01, 12:54
Cool! :cool: So is this an continuation of the EventGhost EventClient for XBMC's EventServer API? ???
See => http://xbmc.org/forum/showthread.php?t=34080
and => http://xbmc.org/forum/showthread.php?t=33812

http://xbmc.org/wiki/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 (http://xbmc.org/forum/forumdisplay.php?f=27) means something else in XBMC terminology :;):

topfs2
2008-10-01, 13:19
@Gamester17 it's a plugin for EventGhost. It is an EventClient for XBMC. Duality at it's best :)

kirs
2008-10-01, 16:38
Cool! :cool: So is this an continuation of the EventGhost EventClient for XBMC's EventServer API? ???
See => http://xbmc.org/forum/showthread.php?t=34080
and => http://xbmc.org/forum/showthread.php?t=33812

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

PS Please refrain from calling it a "plugin" as plugins (http://xbmc.org/forum/forumdisplay.php?f=27) means something else in XBMC terminology

Got it :;):

anyo
2008-10-02, 04:37
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?

kirs
2008-10-02, 14:58
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.

xbs08
2008-10-02, 15:16
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 :)

Goofy2
2008-10-02, 15:23
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 :)

As far as I understand, you need to map them yourself unless someone provide eventghost xml configuration for your remote.

Goofy2
2008-10-02, 15:34
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 :-)

CrazyIvan
2008-10-02, 18:39
Does this work with an old xbox dvd remote and receiver with the Xbox to PC USB adapter?

Livin
2008-10-05, 09:00
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...

<?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>

anyo
2008-10-09, 00:16
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/viewtopic.php?f=9&t=1005&start=15

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

Swwethip1
2008-10-09, 16:28
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/viewtopic.php?f=9&t=1005&start=15

and a trac ticket is open for it too here:
http://xbmc.org/trac/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?

topfs2
2008-10-09, 16:57
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.

anyo
2008-10-09, 20:52
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

Goofy2
2008-10-10, 18:06
Noone tried to use xbox gamepad so far?

tytherman
2008-10-11, 18:51
I now have this working 99% just 2 keys I am struggling with. Menus when playing movies, the keyboard press is "M" but I can not see which event in Evenghost this is so as to map it... second is the escape key... I can not find a way to exit the "info" panel in movie library.... pressing escape does this for the keyboard but again I can't see which to map it to....

other than that much better than IR suite which caused problems such as keyboard not functioning properly and MCE reciever errors.

Swwethip1
2008-10-11, 20:50
tytherman - can you post your EG xml?

Im assuming you are using all keyboard actions with EG?

tytherman
2008-10-11, 21:01
I am using MCE remote... EG xml, where do I find that?

I did not do anything in XBMC just used the xbmc plugin in EG which had all the keys but I cant find one to exit info or one to bring up menus whilst playing movies.

tytherman
2008-10-11, 21:11
if you mean Myconfig.xml see:

http://pastebin.com/m749711cb

Swwethip1
2008-10-12, 02:16
if you mean Myconfig.xml see:

http://pastebin.com/m749711cb

yea thats the one.. but it seems like the link is down

tytherman
2008-10-12, 10:17
link works for me this morning

tytherman
2008-10-12, 21:31
I think I found my problem, for anyone with the same issue see:

http://www.eventghost.org/forum/viewtopic.php?f=9&t=1005&st=0&sk=t&sd=a&start=30

tret
2008-10-12, 22:12
Hi guys, this looks like a great thing but I rely heavily on keymap.xml allowing for button actions to change depending on the current screen in the UI.

Is this possible with the XBMC plugin for eventghost?

anyo
2008-10-13, 00:52
Hi guys, this looks like a great thing but I rely heavily on keymap.xml allowing for button actions to change depending on the current screen in the UI.

Is this possible with the XBMC plugin for eventghost?

yes it is...

djdafreund
2008-10-13, 09:33
I am liking using the eventghost, kind of reminds me of Girder in ways (used to use that since it's 1st beta, back when it WAS free.), and works fine other then it doesn't get recognized by XBMC as a device, so it doesn't make any noises when you push a button. And i couldn't seem to find any search results in case it can and i just missed it. This was when you are using the remote, you would be able to hear the navigation sounds just like you were using the joystick or MS normally. It works this way fine using the other PS3 BT program, only because it's simulating the keyboard of course, and not using events directly.

Edit- Just thought about it actually, i guess instead of using the posted XBMC events plugin module stuff, i could use the virtual keyboard method and map all those instead, which would give me back my navigational sounds again. I figure there's more events already setup, without having mess with the keymap file by using the events method though. Hmmm....

kirs
2008-10-13, 19:46
The event ghost client and the XBMC event server itself are works in progress. There's a discussion going on at the official support thread for the event client as to how to work with contextual commands:

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

As soon as we can reach a consensus as to what makes the most sense I'll get it implemented in the event client.

I am liking using the eventghost, kind of reminds me of Girder in ways (used to use that since it's 1st beta, back when it WAS free.), and works fine other then it doesn't get recognized by XBMC as a device, so it doesn't make any noises when you push a button.

This is an issue of how XBMC sees events coming from an event client. It's an implementation issue that's up the the devs if commands from event clients should make noise.

d4rk
2008-10-14, 00:10
Note that the 'up', 'down', 'left' and 'right' actions not working when the OSD is up (fullscreen video, visualization, etc) is a bug and not expected behavior. During my testing I noticed that when the OSD is up and I send 4-5 'left' actions from an event client, the action is finally triggered on the 4th or 5th action, after which all directions seemed to work.

BlueSpam
2008-10-14, 00:11
Folks, I got EventGhost set up and working with XBMC this weekend, and it's proven to be the last piece I needed to switch to using XBMC completely over MCE!

Thanks for all your hard work!

anyo
2008-10-14, 02:59
Note that the 'up', 'down', 'left' and 'right' actions not working when the OSD is up (fullscreen video, visualization, etc) is a bug and not expected behavior. During my testing I noticed that when the OSD is up and I send 4-5 'left' actions from an event client, the action is finally triggered on the 4th or 5th action, after which all directions seemed to work.

do you know if there is anything in the trac for this?

d4rk
2008-10-15, 01:32
do you know if there is anything in the trac for this?

There is currently no trac item for this, so please feel free to add one. Thanks.

Livin
2008-10-15, 01:45
added it yesterday :)

anyo
2008-10-15, 02:33
added it yesterday :)

cool thanks! I just wanted to make sure, so I didn't accidentally make a duplicate

Livin
2008-10-15, 02:40
#5172: Multi-Zone Audio
----------------------------------------+-------------------------------
----------------------------------------+----
Reporter: Livin | Type: Feature Requests
Status: new | Priority: 4 - Normal
Milestone: Future / Pending | Component: Other (un-categorized)
Version: SVN | Severity: Normal
Keywords: multi,zone,audio,multizone | Platform: Windows
Revision: |
----------------------------------------+-------------------------------
----------------------------------------+----
I think a great addition to XBMC to make it a fully fledged "Media Center"
would be Multi-zone Audio control interface.

Successful multi-zone control includes...

1) GUI interface to control all zones
2) Complete command set available via http
3) Ability to send different audio streams to each zone
4) Ability to use each 'channel' of a sound card as a single/separate zone ... e.g. a 5.1 built-in sound card could run 6 separate zones

--
Ticket URL: <http://xbmc.org/trac/ticket/5172>
XBMC <http://xbmc.org>
XBMC Media Center

djdafreund
2008-10-15, 04:53
@Kirs

I haven't joined yet to the eventghost forums yet, but was posting here for now since i know you read these as well. I saw the post about my mentioning of the events not triggering sounds, so i made a set with a folder having all the xbmc posted events using keyboard triggers, and one folder with xbmc events, with the events disabled for now so we can get sounds still for now. I can post the file if people want it. (It's for the PS3 BT remote of course.) Also, for the OSD i also saw mentioned, funny thing is the 'Enter' also brings it up, course it won't exit back out without hitting 'back' or 'return' depending on how you have it set up. But was happy to see you added OSD function anyway to the OSD as it's the better way of doing it.

And also big thanks for continuing this project. HIGHLY usefull. VERY MUCH like Girder in it's earlier stages, before they went commercial and charged. Can't wait to see this grow in time. Was a little confusing at 1st, but so was Girder. I wondered if it's in the plans to add capability to be able to click on an action, then have a sub-menu choice like "Add control" or something, so that it will listen and then grab whatever signal or remote press you hit next, instead of using the left side drag-n-drop into the right side as the method? Just a question, and i'm cool still with the way things are now already. Thanks!! :)

djdafreund
2008-10-16, 06:32
Here's something interesting and i am not sure what is causing this effect since i just bought my remote a day ago or so. I had just finished setting up all my events and a duplicate set using all keyboard events (til events create sounds in xbmc), and today i go to use it, and nothing worked.
I thought my BT remote either needed to be synced again or the batteries ran out (since i forgot to push and hold the PS button logo.) And then i noticed after chossing the plugin device again (switching to another in HD stack, then back to my Sony BT device.) it was displaying the codes again, but noticing the following-

for IE- the play button USED to be the following code-
HID.0100000032FFFFFFFFFF0105

and today it is showing-
HID.0100000032FFFFFFFFFF0104 (<---was 5)

so i went into each control and redid each button and after about the 38-39th one, i noticed it switched AGAIN and now shows up as
HID.0100000032FFFFFFFFFF0103. (WTH???)

Is this normal behavior for it to change a recognized hex key (or whatever it actually is) to another? I know with my USB UIRT device and ANY remote and Girder, whatever it shows for that key, it will NEVER change and will always register as that long string. So i am wonder if this is correct for it to be changing like this?

My plugin HID settings are the following (only ones that seemed to actually work right.)

[] Use raw data as event name is checked, everything else is unchecked and blank.

I tried putting it into sleep mode (pushing the PS logo button for 6 seconds), then pushing buttons again to bring it out, and so far it's been staying the same with 3 at the end. But i am wondering why it was originally with a 5 at the end of each button press, then changed IN THE MIDDLE to a 4, then again to a 3 at the end, so i can change things so this won't happy again. Or is it still just because EventGhost is WIP? If that, i can live with using 'PS3 Remote Application' for now since it was working fine after testing, but just uses keyboard controls instead of events, which is fine.

jinxdone
2008-10-18, 04:50
I just made a modified version of the EventGhost Generic HID plugin to make the xbox(original one) dvd remote kit work in EventGhost. See this thread (http://www.eventghost.org/forum/viewtopic.php?f=10&t=1037&p=6220#p6220) on the EventGhost forums. Somebody was even asking if it works on the first page of this thread... now it should. :)

Hopefully some of you guys can test the plugin as well. I only have the original microsoft remote so I have no idea whether it'll work with the unofficial ones or not.

-jinxdone

Roy47
2008-11-23, 17:51
I am using my MCE remote with your plugin and Eventghost, which now does almost everything I want except allow me to edit movie name. When I bring up the box I cant select any letters using the navigation keys. The original movie title just keeps the focus.

Roy

extension23
2008-11-27, 20:37
@Kirs

I haven't joined yet to the eventghost forums yet, but was posting here for now since i know you read these as well. I saw the post about my mentioning of the events not triggering sounds, so i made a set with a folder having all the xbmc posted events using keyboard triggers, and one folder with xbmc events, with the events disabled for now so we can get sounds still for now. I can post the file if people want it.



I would definitely be interested in a bit of an explanation of what you did. I have the MCE remote and have the exact same issue with the sounds not being triggered. Is the change you are making to eventghost or is it to the keymap.xml file in xbmc? Any kind of explanation to get me started would be greatly appreciated.

frumpy_uk
2008-11-27, 23:20
@ Kirs : Thanks for the great work. Maybe you could edit the very 1st post in this thread to indicate that the plugin is now included in the nightly builds of event ghost (i.e. no need to download plugin separatley)? I'm sure this will make life easier for event ghost noobs like me.

rainmaker002
2008-12-12, 11:25
Quick question on this one...

I have my "menu" key on my Harmony mapped to "enter" in the keyboard contextual folder, to pull up the OSD menu. I can't find another way to do this.

When I navigate the OSD (up, down, left, right) it also does skip forward/skip back/small skip forward/small skip back) and moves the video around while I'm navigating. This is not exactly ideal. Anyone come up with a way around this?

alessio2
2008-12-12, 11:30
Maybe a dumb question but where can i get/buy USB-UIRT to use it with Logitech Harmony. It doesn't have to be exactly USB-UIRT, it can be any USB IR reciever, it's just important that it works and can be bought for a good price.

alessio2
2008-12-12, 12:42
Is it possible to control XBMC with something like this... and then use EventGhost with Harmony?
http://img.bolha.com/images/image/18123/18438/_492c44e932c90.jpg


EDIT: or something like this:
http://www.colordrives.com/ps3-universal-media-remote.html

alessio2
2008-12-15, 18:38
Anybody??
Which USB IR to buy?

dbbd
2008-12-20, 17:49
I followed the thread, and this was asked before, but the answer had a dead link.
Can someone post EG XML file that maps MCE remote for XBMC?

Thanks,
Dan

Livin
2008-12-22, 01:20
I followed the thread, and this was asked before, but the answer had a dead link.
Can someone post EG XML file that maps MCE remote for XBMC?

Thanks,
Dan

join the EG forum... it is there.

ashlar
2008-12-22, 01:37
join the EG forum... it is there.Where? I searched and couldn't find it... ???

Livin
2008-12-22, 01:49
Where? I searched and couldn't find it... ???

my post...
http://www.eventghost.org/forum/viewtopic.php?f=2&t=1116

ashlar
2008-12-22, 11:26
my post...
http://www.eventghost.org/forum/viewtopic.php?f=2&t=1116??? you mention USB-UIRT, not MCE?

dbbd
2008-12-22, 15:19
??? you mention USB-UIRT, not MCE?
USB-UIRT is a universal IR receiver, he said its a Harmony remote set-up as MCE
remote.

james141
2008-12-22, 16:16
Is it possible to control XBMC with something like this... and then use EventGhost with Harmony?
http://img.bolha.com/images/image/18123/18438/_492c44e932c90.jpg


EDIT: or something like this:
http://www.colordrives.com/ps3-universal-media-remote.html

Exactly what I did but with the cheapo Cyberlink remote.

Works a treat with my Harmony

Livin
2008-12-22, 17:16
??? you mention USB-UIRT, not MCE?

USB-UIRT is a receiver... I use the codes for MCE remote.

to try is would have taken the same time as posting this... and you'd be working.

or spend 15 minutes and just code it yourself - not brain surgery.

ashlar
2008-12-22, 18:00
to try is would have taken the same time as posting this... and you'd be working.Not at all. And I was not able to access my HTPC when I posted. :nerd:

alessio2
2008-12-23, 12:40
Exactly what I did but with the cheapo Cyberlink remote.

Works a treat with my Harmony

Thanks for reply.
What about reporting that this cheap remote/reciever only works on Vista??

I have XP SP2... can this be a problem?

lout
2008-12-25, 13:27
Hi looking for fully working EG.xml for MCE remote thnx

Livin
2008-12-25, 18:09
Hi looking for fully working EG.xml for MCE remote thnx

why not search the forum and even read THIS thread before posting the same question that has been posted at least 3-4 times in the past few months?

maybe even about 5 posts above might even have the answer... :sniffle:

lout
2008-12-27, 14:29
your xml on EG forum not work with my MCE remote thats why i ask here

Livin
2008-12-27, 18:16
your xml on EG forum not work with my MCE remote thats why i ask here

you will need to use only the IR code portions.

Honestly, just make it yourself... will take the same amount of time... about 10-15 mins.

Press button - drag code to matching keyboard emulation for XBMC.

done

nymart
2008-12-29, 16:10
Can someone help me with how I can add new functions that are available in XBMC but are not yet in the EG plugin? I am trying to map the "ShowDVDMenu" function so I can get to the main menu on my .iso files, but that function doesn't appear in the list for EG.

nymart
2009-01-01, 01:45
Can someone help me with how I can add new functions that are available in XBMC but are not yet in the EG plugin? I am trying to map the "ShowDVDMenu" function so I can get to the main menu on my .iso files, but that function doesn't appear in the list for EG.

Bump...Anyone?

Livin
2009-01-01, 02:31
you are asking about EG development... post on the EG forum.

nymart
2009-01-01, 08:18
you are asking about EG development... post on the EG forum.

Sorry, thought it was just something that could be done without additional EG development. I'll ask over there.

everlong
2009-02-10, 19:34
Since there is no howto and my technical skills is not much to vote for I ask here.

Ok. I've got XBMC latest v. installed on a xp pro with an ir receiver. I've also got a Logitech Harmony that works "OK" with xbmc now, but lots of functions doesn't work.

I've now downloaded latest v. of EventGhost and the "plugin" from EventGhost forum (http://www.eventghost.org/forum/viewtopic.php?t=1005).

But now what? I've tried read in the forums, and it looks like everyone knows exactly what do do or there is a howto I can't seem to find.

How do I configure EventGhost? And what do I do with the plugins I downloaded?

david81
2009-02-10, 20:10
Since there is no howto and my technical skills is not much to vote for I ask here.

Ok. I've got XBMC latest v. installed on a xp pro with an ir receiver. I've also got a Logitech Harmony that works "OK" with xbmc now, but lots of functions doesn't work.

I've now downloaded latest v. of EventGhost and the "plugin" from EventGhost forum (http://www.eventghost.org/forum/viewtopic.php?t=1005).

But now what? I've tried read in the forums, and it looks like everyone knows exactly what do do or there is a howto I can't seem to find.

How do I configure EventGhost? And what do I do with the plugins I downloaded?

http://xbmc.org/forum/showthread.php?t=38579

THX-UltraII
2009-02-24, 09:37
Anyone by chance knows if it is possible in the XBMC plugin in EventGhost to add a button to immediately start a trailer (that is stored in a movie folder*)and not have to go into the 'ínfo' and select trailer?

* I use separate folders for each movie with a movie and trailer file. This way the trailer button becomes visible in the 'info' of a movie.
Folder sample:

C:\Documents and Settings\Movies\Transformers
folder contains:
Transformers.mkv
Transformers-trailer.mkv

thxz

THX-UltraII
2009-02-24, 11:32
and one more question:

When I m going to use several plugins like to one for winamp, XBMC, Media Player Classic and some regular windows functions; how does eventghost sets it s priorities? eg. when I have both winamp and Media Player Classic running and I have programed eg. the arrow buttons of my Logitech Harmony ONE, which one has the priority then? Or do I have to add more devices to my Logitech and call one Winamp, one Media Player Classic etc.?

thxz.

toiva
2009-02-24, 11:53
Load task create/switch events plugin, create a macro for each program you use and have those macros enable exclusive when one of the programs activates (task.activated.winamp for example).

THX-UltraII
2009-02-24, 11:59
Load task create/switch events plugin, create a macro for each program you use and have those macros enable exclusive when one of the programs activates (task.activated.winamp for example).

sorry m8, don t understand what you re saying :(
What you mean with 'Load task create/switch events plugin'

THX-UltraII
2009-02-24, 12:38
and what is a macro?

byronl
2009-02-24, 14:02
Crossed posted at EG forums. Any help appreciated.
http://www.eventghost.org/forum/viewtopic.php?f=2&t=1150&p=7468#p7468

12:53 pm
Posts: 2 I too am confused about this.

I've installed the latest eventghost version on XP MCE SP3, installed the MCE remote (HID disabled) and XBMC plugins. I've not changed the MCE remote driver as I got the impression this is not necessary with the new DLL.

I can control XBMC perfectly but even with eventghost shutdown I cannot control MCE? And I cannot see/find and MCE plugin (I'm guessing it's not needed?)

I can stop XBMC and bring up MCE and bring it up to the front. As part of this I disable all other macros and make the macro that starts MCE exclusive.

I've got all the action stuff down pat and it works wonderfully well. Very clever stuff.

What am I missing? Do I need to re-enable HID? I thought it would be a matter of making MCE be the front window?

What am I missing?

The XBMC control problem is that pressing info in video playback brings up the info at the bottom of the screen, but pressing info again does not clear this. I need to press previousmenu (IIRC) to clear this. It looks like it's going to go when you do the 2nd press but it comes back. It works fine in music so I'm assuming it's an XBMC problem? I tried changing the initial repeat timeout to 1000ms but that didn't help.

Thanks

Byron

THX-UltraII
2009-02-24, 15:11
Load task create/switch events plugin, create a macro for each program you use and have those macros enable exclusive when one of the programs activates (task.activated.winamp for example).

I did some searching the last 2 hours and I m a little further on my way. I found a plugin called 'Task Create/Switch Events'. I ve added this plugin and now this plugin is in my list of my Autostart in the Configuration Tree.

But I would like to know what to do next now? You said that I will have to add macro's (in my case for Media Player Classic and XBMC) correct? But where do I place this macro's and what must the macro contain?

toiva
2009-02-24, 17:18
First organize all existing macros into folders (place MPC macros in one folder and XBMC macros in another).
Then create 2 new macros, "enable MPC" and "enable XBMC", and add "enable exclusive" action to both macros and have those grant exclusive to a folder of macros.

So when task.activated.xbmc happens -> enable xbmc macro runs -> it actives only commands under xbmc folder.

Take a look at the wiki pictures, it's all explained there, although it's a bit hard to follow

THX-UltraII
2009-02-24, 17:43
Ok, did some things and hope it will work (I can t test until tonight, I m @the office right now):

1.
Creating separate folders for XBMC and Media Player Classic was not necessary anymore because EventGhost already did this aut. for me.

2.
Next, I created a New Macro that I placed in the main Configuration Tree (so so under a specific folder eg. the XBMC folder), correct?

3.
I called this Macro 'Enable XBMC'

4.
After this I right-clicked on this Macro I made and I choose 'Add Action...'.

5.
After this I selected the EventGhost action 'Exclusive enable a folder/macro' and I then selected my XBMC folder. Clicked on 'Apply' and 'Ok'.

6.
After this I can see the Macro called 'Enable XBMC'. When I expand this macro I see the Action 'Enable exclusive: XBMC'

7.
Am I correct that the last thing I need to do is drag&drop the log called 'Task.Activated.XBMC' to this macro I made so this is added as Event?



I hope I m on the right track. thxz for helping m8

THX-UltraII
2009-02-24, 17:47
edit:

beter! Zie net dat je NL bent. Gast! Nu gaat het stukken makkelijker worden :D. Hoop dat bovenstaande een beetje klopt. Zie in m n andere topic dat je ook al weer een reply hebt gegeven. Ik denk niet dat ik daar uit ga komen jongen. Als dat niet lukt heb ik wel een idee maar daar moet jij wel tijd/zin in hebben. Ik heb namelijk Logmein op mijn computer geinstalleerd staan. Ik zou jou toegang kunnen geven tot mijn pc op die manier. Als je dat zou willen, graag! mzzl

THX-UltraII
2009-02-24, 17:47
Sorry for speaking in Dutch guys, nothing personal. ;)

toiva
2009-02-24, 17:54
That seems about right, do the same for MPC and you should be good to go.

byronl
2009-02-25, 14:19
Ok, to control MCE and presumably VMC and XBMC and other progams you need to re-enable HID in the MCE remote plugin. You then have control over MCE if it's running. I've set things up so only MCE or XBMC are running at any time.

The downside to this is that certain buttons such as Guide, My videos, Rec Tv, Live Tv etc all start media centre. This is annoying as I had assigned those keys to functions in XBMC. I need to undo this and use the keyboard plugin and use keyboard keys for these events. Fortunately I have the IR keyboard and learning remotes so F1, F2 etc or whatever can be captured and used to control XBMC or whatever.

To switch programs I capture the sleep button which disable all macros except ones to start MCE, XBMC etc and then use the coloured buttons on the remotes to kick off the correct macro. Since these buttons are not mapped like the special buttons above this works well. The XBMC and MCE macros needs to have an action that captures the sleep button press and disables the macro that it is in and re-enable the start MCE, XBMC macros.

I tried disable the HID service but the special buttons still work, a reboot is needed I guess (I wonder which process picking these button presses up, and can it be killed and restarted as desired????)

I hope this helps somebody struggling with this.

I also discovered post this work the following thread.
http://www.eventghost.org/forum/viewtopic.php?f=2&t=1023

Byron

byronl
2009-02-26, 02:10
it appears there is a process called ehtray.exe that can be suspended and unsuspended. This process is what picks up the MCE remote from a system perspective and fires up MCE.

Suspending this when running XBMC etc and the unsuspending when doing MCE might be the trick for those that don't want to do keyboard emulation.

I will test and post back.

B

byronl
2009-02-27, 00:16
Tried suspending ehtray.exe and other related processes but whilst this stopped MCE starting up when you pressed GUIDE for instanced, control in powerDVD and XBMC became flakey and unusable. Using the direction keys would jump 2 files at a time etc.

The only way to MCE and XBMC that I can see is to use emulated keystrokes in MCE.

B

toiva
2009-02-27, 08:22
Why not just simply disable ehtray.exe alltogether and handle everything with Eventghost? MCE should work fine with this service disabled.

Check the last post http://yabb.jriver.com/interact/index.php?topic=47795.0

byronl
2009-03-02, 10:26
Disabling HID when you load the MCE Plugin in EventGhost does what you suggest. I was simply trying to work around using EventGhost for MCE control.

B

MockY
2009-03-07, 06:12
Where on earth do I put these 2 python scripts and how do I map the keys?
I have installed EventGhost and downloaded the zip file from this tread.
It is all very confusing.

Dougie Fresh
2009-03-08, 08:00
I've got EventGhost and my MCE remote working brilliantly with XBMC except for one command. I've mapped the DVD Menu button to the OSD Menu but it's not working inside XBMC when I am playing music with visualization. I can see in EventGhost when I press the DVD Menu button on my remote that it's running the OSD macro and issuing the XBMC OSD command but inside XBMC it does nothing. Pressing "M" on the keyboard brings up the OSD as expected.

Thoughts?

If I can get this working I'll write a step-by-step tutorial from soup-to-nuts on getting EventGhost/MCE/XBMC all working and include my configuration for EventGhost. This is the only thing standing in the way unfortunately.

Livin
2009-03-08, 19:43
Where on earth do I put these 2 python scripts and how do I map the keys?
I have installed EventGhost and downloaded the zip file from this tread.
It is all very confusing.

did you read any of the posts on the EG forum?
did you read the EG wiki? http://www.eventghost.org/wiki/Main_Page

all the necessary info is there.

ryansebiz
2009-03-09, 03:32
So I should install this even though I'm using the February 2009 build of EventGhost?

Livin
2009-03-09, 03:40
So I should install this even though I'm using the February 2009 build of EventGhost?

post on the EG forum... that is where EG support is!

ryansebiz
2009-03-09, 05:16
post on the EG forum... that is where EG support is!

I appreciate your kind help with an XBMC plugin related question.

Thanks so much!

xanadu1979
2009-03-09, 05:37
This tutorial is getting pretty outdated.

Someone just wrote an updated one but it quickly fell off the front page. We should maybe get it into the remote sticky.

http://xbmc.org/forum/showthread.php?t=46595

Livin
2009-03-09, 07:00
I appreciate your kind help with an XBMC plugin related question.

Thanks so much!

your question is not an XBMC only answer, it is to 'how' EG works... where/how plug-ins are installed and used. Yes, it IS an EG question. OH, and IF you had looked on the EG forum you'd have seen a rather large post specific to the XBMC plug-in.

noobs are so... noobish.

ryansebiz
2009-03-10, 02:08
your question is not an XBMC only answer, it is to 'how' EG works... where/how plug-ins are installed and used. Yes, it IS an EG question. OH, and IF you had looked on the EG forum you'd have seen a rather large post specific to the XBMC plug-in.

noobs are so... noobish.

Don't feed the troll.

Dougie Fresh
2009-03-10, 17:35
If anyone has a clue on why only the "osd" action isn't doing anything inside XBMC, I meant it when I said it was the last piece that I needed to write up a complete A-Z guide to making it work. All the pieces are scattered here and there but I can put it together into a guide. I can't do that though if there's stuff not working and I have to go find something else to use instead :(. Eventghost is definitely showing "XMBC:OSD Menu" is being issued (on the event logger) but it does nothing inside XBMC. If there's anything I can do to help debug or try just let me know.

XBMCSetup-Rev18257-jester.exe
EventGhost_0.3.7.r851_Setup.exe
EventGhost XBMC plugin v0.2

MockY
2009-03-14, 07:08
did you read any of the posts on the EG forum?
did you read the EG wiki? http://www.eventghost.org/wiki/Main_Page

all the necessary info is there.

I have looked through both those sources and nowhere does it say how to do this. Very bizarre.

logicalinsanity
2009-03-14, 11:43
I have looked through both those sources and nowhere does it say how to do this. Very bizarre.

Don't feel bad. I spent hours searching and didn't find the information outlined clearly anywhere. I think most of the information available assumes you already have a clear understanding of how XBMC and Eventghost would need to interact.

I outlined the remaining steps in response to a post made here:
http://xbmc.org/forum/showthread.php?t=46595

Good luck!

derelict
2009-03-26, 12:19
If anyone has a clue on why only the "osd" action isn't doing anything inside XBMC, I meant it when I said it was the last piece that I needed to write up a complete A-Z guide to making it work. All the pieces are scattered here and there but I can put it together into a guide. I can't do that though if there's stuff not working and I have to go find something else to use instead :(. Eventghost is definitely showing "XBMC:OSD Menu" is being issued (on the event logger) but it does nothing inside XBMC. If there's anything I can do to help debug or try just let me know.

I would like to bump this as i'm having the same problem. the eventghost xbmc plugin sends the "osd" command as an xbmc_actions (NOT buttonremote).

it is working while watching a video but it DOES NOT work while listening to music in fullscreen!

is that a known bug ?

Cheers

Dougie Fresh
2009-03-26, 18:50
BTW, I worked around this by mapping the menu button to simulate a "M" on the keyboard. Oh well.

derelict
2009-03-26, 19:09
Yes i knew that solution :-)

The Problem is, that i'm controlling xbmc from a different machine (eventghost server) using tcp/ip to the xbmc eventserver running on my mediacenter pc.

The only ugly "solution" would be to send a networkevent from the eventghost server to the eventghost "client" on the xbmc machine... and generate the "M" keypress there :-(

so is that a known bug in the eventserver of xbmc ? (i'm using the latest build of xbmc)

Thanks

Marcel

eriksmith200
2009-03-29, 17:04
Is it possible to create a macro in eventghost to clean the library?

rpleasan
2009-03-30, 15:26
I am new to eventghost but would like to press certain keyboard keys to manipulate xbmc in ways that are not previously designed.

-Describe a benefit of how one uses eventghost with XBMC?
-Does it conflict with the keymap config?
-Can I configure EventGhost to play a video with an external player by a single key press?
-How do you install this plugin anyways?

thx

bramblepants
2009-04-15, 17:47
BTW, I worked around this by mapping the menu button to simulate a "M" on the keyboard. Oh well.

I was about to suggest that workaround, but looks like you've found it already! I'm also in a position where I've got my MCE Remote + EventGhost + XBMC working very well together and am very happy...

Even spent a bit of time setting up multitap, so I can use the number buttons on the remote to type letters, which helps with jumping to movies and typing etc etc

One tiny issue I have is with the repeat delay when navigating up, down, left and right as sometimes it jumps a little...can you advise what you have yours set to?



Finally, for anyone who wants to setup EventGhost my advice would be to follow the "flawless and easy" post stickied in the XBMC for Windows forum, download the EventGhost software from their site, then just play around with it. It's pretty easy to get going and the forum here and at EG is full of info..

When it's working it's just as good as navigating in Media Center..

Dougie - I think your offer of a step by step, from start to beginning would also go down well....

byronl
2009-04-19, 11:01
To start, thanks to the authors of EventGhost. Very clever. I now have seamless switching and control of XBMC, MCE and PowerDVD on my HTPC.

However I've got one minor niggle. I'm using a XP MCE remote to control things. To do menu navigation I'm using up/down/left/right/ok which is pretty normal I assume. My problem is that I also use the up/down/left/right keys for Big Skip Backward/Forward and Small Skip Backward/Forward in the same manner as my XBOX remote works.

However when you pull up the OSD menu and move up/down etc the video also jumps back/forward etc since the same keys are doing 2 commands.

This might be a Babylon alpha issue as I'm sure pulling up the OSD before was a context change and hence the skip keys didn't work when moving around the OSD.

Anyone else seeing this?

Thanks

Byron

Heilage
2009-04-19, 17:20
Even spent a bit of time setting up multitap, so I can use the number buttons on the remote to type letters, which helps with jumping to movies and typing etc etc

One tiny issue I have is with the repeat delay when navigating up, down, left and right as sometimes it jumps a little...can you advise what you have yours set to?



I'm having a lot of problems with the "smoothness" of my remote pressing. I have to press very slowly and be very determined to get any kind of response from XBMC. Any suggestions as to what this can be (considering the fact you seem to have it working). I'm on Vista x64, if that's even somewhat relevant.

byronl
2009-04-20, 03:20
On my skip key question I've answered this elsewhere, and it's because the eventserver in XBMC is not context aware like the old keymap used to be, hence when you press a key evenghost passes it to the event server, and it's the event server that causes the two actions to occur (ie skip and move within the OSD menu). I'm not sure there is much that can be done about this.

byronl
2009-04-20, 03:23
I'm running XBMC Atlantis Alpha and Eventghost with the MCE XP remote.

Control is pretty good except I can't for the life of me get scrolling up/down in the file lists to be fast or smooth. I've dropped the repeat time to 5ms in the event server settings and changed the MCE remote repeat in eventghost to be 0.12seconds and it's still not as smooth as on my XBOX.

I've tried and tried all sorts of settings.

Does anyone have some settings that work? Or is it simply the processing overhead of eventghost that causes the stutter?

Ta

Byron

LaTropa64
2009-04-20, 03:47
I'm running XBMC Atlantis Alpha and Eventghost with the MCE XP remote.

Control is pretty good except I can't for the life of me get scrolling up/down in the file lists to be fast or smooth. I've dropped the repeat time to 5ms in the event server settings and changed the MCE remote repeat in eventghost to be 0.12seconds and it's still not as smooth as on my XBOX.

I've tried and tried all sorts of settings.

Does anyone have some settings that work? Or is it simply the processing overhead of eventghost that causes the stutter?

Ta

ByronThe only way I got smooth scrolling to work was to not disable the HID service and not mapping the up/down/left/right/select on the MCE remote because they work beautifully out of the box. The only problem with doing that is there are a number of keys that you can't map to XBMC because they will start up Windows Media Center (Recorded TV, Program Guide, Live TV and the big green button). You also won't want to map a number of other buttons since they also work out of the box (0 to 9, clear, enter, vol, mute).

byronl
2009-04-20, 04:52
LaTropa64 thanks for this. I went down the HID enabled path and it was painful.

The new plugin at the eventghost forums looks like it might be the go since it solves the skip problem as well, and might reduce some of the delays.

http://www.eventghost.org/forum/viewtopic.php?f=9&t=1005&start=90

See the 2nd last post by miljbee.

I'm going to try it tonight.

Byron

bramblepants
2009-04-20, 16:23
I'm having a lot of problems with the "smoothness" of my remote pressing. I have to press very slowly and be very determined to get any kind of response from XBMC. Any suggestions as to what this can be (considering the fact you seem to have it working). I'm on Vista x64, if that's even somewhat relevant.


Heilage - sorry for the delay in replying!

For me, what made the most difference with navigating around XBMC was not mapping the MCE Remote to XBMC Up, Down, Left and Right, but mapping it to keyboard presses via "Emulate Keystrokes", found in EventGhost. Once I'd got this setup it meant navigating was smooth, fast, and I could hold down a button and it would repeat.

Apologies if you already know how to do this, but it might be useful for other people...

* Fire up EventGhost (I'm using EventGhost 0.3.7.r851)
* Load the Keyboard Plugin
* Create a new folder, named something like "MCE Remote + Keyboard"
* Create 4 new macros named Up, Down, Left and Right
* Press Up on your remote, then drag the Event over to the "Up" macro
* Whilst in the "Up" macro press the "Add Action..." button, go to Window and add the Emulate Keystrokes action.
* In the Text To type box type {Up} and press OK.
* Press the "Add Action..." button again and go to EventGhost, and choose "Autorepeat current macro".
* In the settings for Autorepeat put:

0.40
0.15
999.00
0.15

I'm still working on these timings, as it occasionally skips a little further than I want. Just looked at another thread which suggests the following, but I haven't tested yet.

0.60
0.30
2.00
0.03

You could try either...

So, under your "Up" macro you should now have, in this order:

MceRemote.Up
Emulate Keystrokes:{Up}
Autorepeat current macro: 0.4

if it's not in that order, drag them to the correct order. You will also need to disable the Up Macro under XBMC, in EventGhost, otherwise you'll get double presses.

At this point you could save your settings in EG, then fire up XBMC and see if it makes navigating any speedier? Compare Up to Down, Left and Right. If it's better, then just repeat the above process for Down, Left and Right, using {Down}, {Left} and {Right} as your keypresses to emulate. Make sure you disable the same under the XBMC macros.

I have also used the Emulate Keystrokes for the volume control, which made that smooth as well. You just need to map it to + for volume up and - for volume down.

I am also doing all this with the HID service disabled with all the special buttons working, and the Green button launching XBMC...

If this helps anyone please let me know, as I'm considering writing instructions for setting up EventGhost + MCE Remote + XBMC from start to finish, including repeat delays, launching XBMC from the green button, sleep and standby and Multitap.

Heilage
2009-04-20, 17:35
Worked like a charm! The timing is not spot-on at the moment, but it's about 1337% better than before. A few keys are difficult to fix though, like the stop button and context menu (for this one I used the XBMC-function instead of a keboard emulation).

When I'm finished I'll be glad to throw the configuration out to the world. :)

bramblepants
2009-04-20, 17:40
Worked like a charm! The timing is not spot-on at the moment, but it's about 1337% better than before. A few keys are difficult to fix though, like the stop button and context menu (for this one I used the XBMC-function instead of a keboard emulation).

When I'm finished I'll be glad to throw the configuration out to the world. :)

OK, that's good to hear. I've updated my post above with some timings which may be better. I'm at work at the moment though so cant test them. You could try these?

I've also left my context button as the XBMC function, and I think it's working ok for me. Might be worth double clicking your "Microsoft MCE Remote" plugin in EG and making sure the Button release timeout is set to 0.15?

I ended up mapping quite a few of the MCE buttons to keyboard presses, as I found they work better. For Select just create a new Macro, named "Select". Press OK on your remote, drag it over to the "Select" Macro, add an Emulate Keystroke as {Enter} and disable Select under the XBMC macro...No need to add an autorepeat on this one...

You could also add them for Page Up, Page Down, Back, Delete etc etc...just make sure you disable the same under the XBMC folder and macros.

Livin
2009-04-20, 18:32
Guys,
thanks for working out the timings... I have noticed this is an issue with the latest plugins.

btw... I never had any timing issue using the keyboard emulation, everything was very fast and smooth. I wonder if the 'issue' is with the Eventserver - or the new plugin?

Vorm
2009-04-21, 12:54
Heilage - sorry for the delay in replying!

For me, what made the most difference with navigating around XBMC was not mapping the MCE Remote to XBMC Up, Down, Left and Right, but mapping it to keyboard presses via "Emulate Keystrokes", found in EventGhost. Once I'd got this setup it meant navigating was smooth, fast, and I could hold down a button and it would repeat.

Apologies if you already know how to do this, but it might be useful for other people...

* Fire up EventGhost (I'm using EventGhost 0.3.7.r851)
* Load the Keyboard Plugin
* Create a new folder, named something like "MCE Remote + Keyboard"
* Create 4 new macros named Up, Down, Left and Right
* Press Up on your remote, then drag the Event over to the "Up" macro
* Whilst in the "Up" macro press the "Add Action..." button, go to Window and add the Emulate Keystrokes action.
* In the Text To type box type {Up} and press OK.
* Press the "Add Action..." button again and go to EventGhost, and choose "Autorepeat current macro".
* In the settings for Autorepeat put:

0.40
0.15
999.00
0.15
<snip>.

I'm attempting to get a Cyberlink remote control working with XBMC though eventghost. Will the basic premise for setting up as posted above, work for that remote also?

acbeef
2009-04-21, 15:33
Only way that i got smooth navigation was to enable the hid on the mce remote.
I then disabled the ehtray.exe in vista so media center would not intercept the key presses (there are guides on google for this)

I disabled all mapping for up,down,left,right and select (center button) in eventghost

after doing all this scrolling is perfect same as on xbox1

I am guessing its because xbmc is actually reading them as remote codes instead of keyboard emulation/ events (eventclient)

anyway this is what worked for me

byronl
2009-04-21, 16:31
Heilage - sorry for the delay in replying!

For me, what made the most difference with navigating around XBMC was not mapping the MCE Remote to XBMC Up, Down, Left and Right, but mapping it to keyboard presses via "Emulate Keystrokes", found in EventGhost. Once I'd got this setup it meant navigating was smooth, fast, and I could hold down a button and it would repeat.




Very clever. Could you not just add the emulate etc under the relevant command in the XBMC plugin? I'm using the new plugin (discussed on the eventghost board) that goes via keymap.xml and hence some of the context things work better and it scrolls a touch faster.

EDIT: You can add this emulation to whatever XBMC plugin macro you choose, just simply delete the XBMC function under the macro. Allows context stuff to work and keeps everything under the one macro.

EDIT2: I've just done it for direction keys and not context keys such as StepForward etc as I don't think this would work for them, and repeats are not important for this). Mind I might have double actions. Need to test tonight.

Great work.

B

bramblepants
2009-04-21, 17:01
I'm attempting to get a Cyberlink remote control working with XBMC though eventghost. Will the basic premise for setting up as posted above, work for that remote also?

I dont have any experience with the Cyberlink remote, but I'm presuming that as long as you could load a plugin for it (unless it's seen as the Microsoft MCE Remote, and you could just use that plugin) then this process would work fine? You should try!

bramblepants
2009-04-21, 17:21
Very clever. Could you not just add the emulate etc under the relevant command in the XBMC plugin? I'm using the new plugin (discussed on the eventghost board) that goes via keymap.xml and hence some of the context things work better and it scrolls a touch faster.

EDIT: You can add this emulation to whatever XBMC plugin macro you choose, just simply delete the XBMC function under the macro. Allows context stuff to work and keeps everything under the one macro.

EDIT2: I've just done it for direction keys and not context keys such as StepForward etc as I don't think this would work for them, and repeats are not important for this). Mind I might have double actions. Need to test tonight.

Great work.

B

Ok, keep us updated on how you got on? I'd be interested to see how this new plugin works, but have only just got it working like this! :laugh:

byronl
2009-04-22, 02:38
Ok, keep us updated on how you got on? I'd be interested to see how this new plugin works, but have only just got it working like this! :laugh:

Will do. The new plugin behaves correctly if you have the step actions (bigstep, smallstep) mapped to the direction keys like on XBMC/XBOX. You don't get double actions like you do in the original plugin whereby pressing a direction on OSD menu also caused the video to step as well.

There's a context issue with DVD menus and the step actions, which I have a cunning plan for.

B

kulprit
2009-04-22, 03:50
This shouldn't stop the keymap.xml with the new plugin. What I am trying to do is get the info screen to open when i press my select button, but only in my video library. I've added <select>Info</select> to the <myvideolibrary> part of my keymap but that doesn't seem to be working.

Any ideas if eventghost could be having an impact?

byronl
2009-04-22, 05:04
This shouldn't stop the keymap.xml with the new plugin. What I am trying to do is get the info screen to open when i press my select button, but only in my video library. I've added <select>Info</select> to the <myvideolibrary> part of my keymap but that doesn't seem to be working.

Any ideas if eventghost could be having an impact?

How odd, the new plugin is meant to use keymap.xml. Perhaps ask in the EG forums.

B

byronl
2009-04-22, 09:56
I did some testing on the repeat business and my universal remote doesn't repeat as fast as the original MCE remote.

That said with some more agressive times for the up/down keys
0.30
0.01
0.30
0.01

With original remote it scrolls very fast, the IR MS keyboard is way faster, but works around Eventghost and directly controls XBMC. I couldn't my remote to do it as fast. I've done some repeat tweaking and i've got it pretty acceptable.

Thanks for the tip.

B

bramblepants
2009-04-22, 12:54
I did some testing on the repeat business and my universal remote doesn't repeat as fast as the original MCE remote.

That said with some more agressive times for the up/down keys
0.30
0.01
0.30
0.01

With original remote it scrolls very fast, the IR MS keyboard is way faster, but works around Eventghost and directly controls XBMC. I couldn't my remote to do it as fast. I've done some repeat tweaking and i've got it pretty acceptable.

Thanks for the tip.

B

Good news! I'll also try those timings and see how I get on. I've had a Harmony One sitting in a box for a while now and have ust ordered a USB-UIRT, so more fun ahead getting that working!

bramblepants
2009-04-23, 22:58
Only way that i got smooth navigation was to enable the hid on the mce remote.
I then disabled the ehtray.exe in vista so media center would not intercept the key presses (there are guides on google for this)

I disabled all mapping for up,down,left,right and select (center button) in eventghost

after doing all this scrolling is perfect same as on xbox1

I am guessing its because xbmc is actually reading them as remote codes instead of keyboard emulation/ events (eventclient)

anyway this is what worked for me

I thought I'd try your suggestion and disable ehtray.exe, and I have to say you were right. I have now disabled all the Up, Down, Left and Right commands in EG and everything is working super quick, just as good as it did in Vista MCE - so thanks!

I would now recommend that the easiest way to get your repeats and everything working is to disable ehtray.exe (which you can google), DONT allow the MCE Plugin in EG to disable the HID and then disable any of the directions you've got setup in EG, as you wont need them. Same goes for keyboard directions.

:cool:

acbeef
2009-04-24, 03:42
Glad it worked out for you.... I got tired of screwing with all of the delays.

If anyone else wants to test it with out completely disabling the ehtray.exe
just kill it in the task manager, disable eventghost mappings for up,down.left,right,center and then run XBMC

byronl
2009-04-24, 06:06
I would now recommend that the easiest way to get your repeats and everything working is to disable ehtray.exe (which you can google), DONT allow the MCE Plugin in EG to disable the HID and then disable any of the directions you've got setup in EG, as you wont need them. Same goes for keyboard directions.
:cool:

I'm sure I played with this before and found it problematic if want to control MCE. I need to test again and see what the issue was.

B

acbeef
2009-04-24, 06:50
I dont think you will be able to use both vista media center and XBMC with this method

LaTropa64
2009-04-24, 08:53
I'm sure I played with this before and found it problematic if want to control MCE. I need to test again and see what the issue was.

B

To use both MCE and XBMC, I leave ehtray alone and leave HID enabled and then you only have to map some buttons in eventghost to use with XBMC. There are only four buttons that can't be mapped since they are exclusive to MCE.

My guide is here: http://xbmc.org/forum/showthread.php?t=48667

bramblepants
2009-04-24, 14:37
To use both MCE and XBMC, I leave ehtray alone and leave HID enabled and then you only have to map some buttons in eventghost to use with XBMC. There are only four buttons that can't be mapped since they are exclusive to MCE.

My guide is here: http://xbmc.org/forum/showthread.php?t=48667

Just out of curiosity, why do you use both? Not that there's anything wrong with it! :grin:

LaTropa64
2009-04-25, 09:57
Just out of curiosity, why do you use both? Not that there's anything wrong with it! :grin:

Live TV and DVR functionality in MCE is easy to use and works great.

byronl
2009-05-06, 06:01
One odd issue in the latest Jonib XBMC:Repeat plugin (and I'm not sure it's a plugin issue).

I've remapped by up/down keys (all in the remote section) to be emulated keystrokes instead of the actual plugin command. This speeds up scrolling in file lists signficantly as discussed earlier.

ie. for up I have
MceRemote.Up
Emulate Keystrok:{Up}
Autorepeat Current macro:0.5

The odd part is that now up/down in the on screen keyboard won't work. Up/down works everywhere else. Not sure now if it worked with the original plugin or not.

I wonder if there is a mapping missing or it's an xbmc issue. I'll ask on the XBMC forum as well.

This doesn't affect me much since I rarely use the keyboard anyway (and I have an IR keyboard). It's just wierd.

Thanks

Byron

bramblepants
2009-05-06, 13:02
One odd issue in the latest Jonib XBMC:Repeat plugin (and I'm not sure it's a plugin issue).

I've remapped by up/down keys (all in the remote section) to be emulated keystrokes instead of the actual plugin command. This speeds up scrolling in file lists signficantly as discussed earlier.

ie. for up I have
MceRemote.Up
Emulate Keystrok:{Up}
Autorepeat Current macro:0.5

The odd part is that now up/down in the on screen keyboard won't work. Up/down works everywhere else. Not sure now if it worked with the original plugin or not.

I wonder if there is a mapping missing or it's an xbmc issue. I'll ask on the XBMC forum as well.

This doesn't affect me much since I rarely use the keyboard anyway (and I have an IR keyboard). It's just wierd.

Thanks

Byron

I'm not sure on this, but I think this could be a known issue with his plugin. I know he's been seeing issues with the direction keys, so has suggested mapping them to dpadup, dpadright etc etc. Not sure if this same issue affects you or not. Prob worth having a read through the thread on the EventGhost forum...

I'm still having problems with the reliability of my setup. Everything works sweet for most of the time, but occasionally I'll resume my machine and something plays up, like some of the buttons wont work...it's driving me mad ???

eriksmith200
2009-05-06, 13:56
One odd issue in the latest Jonib XBMC:Repeat plugin (and I'm not sure it's a plugin issue).

I've remapped by up/down keys (all in the remote section) to be emulated keystrokes instead of the actual plugin command. This speeds up scrolling in file lists signficantly as discussed earlier.

ie. for up I have
MceRemote.Up
Emulate Keystrok:{Up}
Autorepeat Current macro:0.5

The odd part is that now up/down in the on screen keyboard won't work. Up/down works everywhere else. Not sure now if it worked with the original plugin or not.

I wonder if there is a mapping missing or it's an xbmc issue. I'll ask on the XBMC forum as well.

This doesn't affect me much since I rarely use the keyboard anyway (and I have an IR keyboard). It's just wierd.

Thanks

Byron

you might have to set navigatevirtualkeyboard to true in advancedsettings.xml:
http://xbmc.org/wiki/?title=Advancedsettings.xml#.3Cnavigatevirtualkeyb oard.3E

byronl
2009-05-06, 15:23
you might have to set navigatevirtualkeyboard to true in advancedsettings.xml:
http://xbmc.org/wiki/?title=Advancedsettings.xml#.3Cnavigatevirtualkeyb oard.3E

I'll have to try it! Thanks!

EDIT: Works perfectly now. Thanks.

B

gazoo
2009-05-14, 00:50
I'm new to the forum, and I have a question. I am a long time user of EG on GB-PVR and I just went ahead and did my own mapping and it works OK. However, it would work better if there was a plugin which made EG XBMC event aware (like knowing if you were doing video vs music, etc.)

I am not sure if that is the case or not. I read all the posts, but I am still unclear as to whether or not there is an event aware xbmc plugin or if there is just a keymapping available for it (which I've already done and won't need.)

Thank you..

rflores2323
2009-05-21, 23:24
I'm new to the forum, and I have a question. I am a long time user of EG on GB-PVR and I just went ahead and did my own mapping and it works OK. However, it would work better if there was a plugin which made EG XBMC event aware (like knowing if you were doing video vs music, etc.)

I am not sure if that is the case or not. I read all the posts, but I am still unclear as to whether or not there is an event aware xbmc plugin or if there is just a keymapping available for it (which I've already done and won't need.)

Thank you..

take a look at this thread

http://www.eventghost.org/forum/viewtopic.php?f=10&t=1562&hilit=xbmc

cgmark
2009-05-22, 01:52
I wanted some buttons to repeat when held down and others not to. Like volume to repeat , but not play. I found an easy fix. I set the MCE plugin to .10, a really fast repeat. Then under each macro I put the actions:
Wait: 0.2 sec
Clear Pending Events

Set wait to whatever works best for you. It is the time the button will repeat while it is held down. So if you set play to wait .5 sec, then for as long as you hold down the button the event will repeat every .5 sec. Clear Pending Events removes the extra key presses


So for volume it looks like:
MceRemote.VolumeUp
XBMC: Volume Up
Wait: 0.2 sec
Clear Pending Events

I can now set each item to repeat or not repeat by just changing the wait time.