Posts: 39
Joined: Mar 2005
Reputation:
-10
wHack
Junior Member
Posts: 39
2008-06-26, 18:26
This is a little information about getting a Vista Remote Reciever to work for any Windows app (XBMC included) with almost any remote or even multiple remotes.
I bought a Vista MCE compatible remote for XBMC without realizing there was no support. I then checked the forums for how to get it up and running and found mention of HIP and EventGhost I tried both of them and neither one seemed to work for my remote. Then I noticed that it required me to install an old driver replacement. I did this but the driver didn't work for my remote. Then I tried the Vista compatible driver still no good.
I had all but given up and then I read the MediaPortal forum about the Vista compatible driver and found the author who had made it Vista compatible had written a collection of apps that worked with the default Vista driver and worked for all MCE remotes, supposedly even better than the replacement driver. The apps are bundled in a collection called IR Server Suite.
So I installed it and it worked like a charm, plus it took input from every remote I own and allowed output over my IR Blaster ports on my receiver. I still haven't built a full IR configuration for it yet but I'm planning on leaving the Vista Remote commands in tact, and setting it up to use the original XBOX remote for XBMC.
The app also alows for program specific controls, And has a variety of different tools for working with IR. I've read of others trying to do this and figured the info could be of help.
When I finish a config for the XBOX remote I'll post it.
Posts: 2,745
Joined: Oct 2003
Reputation:
1
WiSo
Team-Kodi Developer
Posts: 2,745
Yeah doing it native is a pita since mce v1 and v2 are different (HID vs own driver).
I saw also the IR Server Suite but didn't test it yet.
Posts: 87
Joined: May 2007
Reputation:
0
yepp.
Wish we could solve it smothly some way. The MCE remotes are quite good for their price and got good range
Posts: 309
Joined: Apr 2004
Reputation:
-10
Too many are struggling with IR support, i opt that any IR device should work with any remote. (of course if that IR device has the correct OS drivers installed)
That's user friendlessness, now most are struggling..
Posts: 39
Joined: Mar 2005
Reputation:
-10
wHack
Junior Member
Posts: 39
oh yeah on the windows messaging if XBMC where just set up to inerpret a set of windows messages equivalent to the builtin remote functions these could then be mapped to remote button for any remote. Then a config for translator could be written and all someone using a different remote would need to do is remap the buttons.
But I still think direct communication with the Input Service is the way to go as it allows for more customization.
Posts: 39
Joined: Mar 2005
Reputation:
-10
wHack
Junior Member
Posts: 39
Ok this is a lot better I still don't have the VirtualKeyboard and NumericInput working right yet but everything else is working great. As far as I can tell just like the original with only a couple minor changes to the keyboard functions.
In Full Screen Video and Visualisation you now have to hit m for the OSD as Enter adjusts AspectRatio / Brings up the PresetList. Also in Visualisation mode you now have to use comma for track back and period for track forward there the buttons with < and > so it's not that hard.
Those are the only changes. However this site doesn't allow me to post attachments so if anyoone wants it and is willing to host it let me know.
Posts: 39
Joined: Mar 2005
Reputation:
-10
wHack
Junior Member
Posts: 39
Oh yeah it's just a modified keymap.xml and another configuration xml file for IR Server Suite.
Posts: 16
Joined: May 2008
Reputation:
0
karra
Junior Member
Posts: 16
would be nice if someone could send up key files to win for MCE
Or explain how to do so a 3 year old can understand.
Thank you in hand
Posts: 3,746
Joined: May 2004
Reputation:
20
Livin
Posting Freak
Posts: 3,746
wHack,
how do you "import" that file/XML?
I'm not an expert but I play one at work.
Posts: 2,745
Joined: Oct 2003
Reputation:
1
WiSo
Team-Kodi Developer
Posts: 2,745
Thanks, I'll have a look.
From the first look is there any need of a special plugin for XBMC or what are the limitations in using the translator for example?
Posts: 39
Joined: Mar 2005
Reputation:
-10
wHack
Junior Member
Posts: 39
Well there are a few limitations to using translator.
The biggest is that the keyboard mappings and the remote mappings for XBMC don't directly mirror each other so when you use translator to map to the keyboard controls of XBMC certain buttons won't work like they once did because that keyboard button on a different screen has a seperate function than the remote button that is mapped to it.
I managed to get around this for the most part by creating new keyboard mappings in the keymap.xml that represent the remote buttons specifically and copied and edited the remote sections of the keymap file to the keyboard section and changed the tags so they represented the actions of the remote buttons.
This causes the problem of having extra keymappings for keys all over the place so hunting for the right key if you can't remeber it has a much higher likleyhood of an undesired action, and just makes the keymap.xml file significantly more cumbersome and bloated, and requires alot more customization meaning alot of people will likely have varying solutions wich is unnecesarilly confusing.
This still leaves issues getting the Virtual Keyboard and Numeric Inputs to act correctly as XBMC detects the keyboard arrows and handles them differently than remote arrows. Whis of courese makes since who would use the virtual keyboard an a keyboard. So the up and down arrows on the keyboard do nothing in those windows and the left and right just shift the cursor position within the text. Thus there's no way to select the letters with the remote. If you change this then the keyboard specifice behaviour is over written.
So for these reasons it seems to make sens to internall handle the remote codes specifically as remote codes instead of using a keyboard mapping hack. All of XBMC's keyboard and remote configuration was setup with the thought of the two being handled seperately and differently which make's then dificult to combine with such a workaround.
I'll continue this in another post addressing my thoughts on the need or lack thereof for a plugin or what might be a good solution.