| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #61 (permalink) | |
| Portal Member Join Date: Apr 2008
Posts: 32
Thanks: 2
Thanked 0 Times in 0 Posts
Country: | I've read through all the documentation that I've found, as well as this entire thread, and I'm still as clueless as my fat aunt. I've got Keyboard.xml and KeyboardInputPlugin.dll in their proper directories. My remote is working fine, but I'd like to remap a few keys. In the plugin documentation, it says: Quote:
If I open the setup program, I see a "Remote" category. That category shows six tabs that appear to correspond to six brand name remotes. (I've got a cheap remote that I got off Ebay.) There's a '+' next to remote. If I click on it to expand it, it lists: USBUIRT SerialUIR WinLIRC RedEye Direct Input I have no idea what any of these terms mean, but I can't find anything related to button mapping or button definitions anywhere in this configuration. It's like I'm using a different piece of software. Could someone please take me step by step through reconfiguring a button on the remote to do something else? I'd be very appreciative. If this could be done by simply editing Keyboard.xml, I'm all for that, but I could use a little advice on what to change where. Also, once I save the edited file, I assume that something has to be restarted to read in the new configuration? Thanks for any help. | |
| | |
| | #62 (permalink) |
| Portal Member Join Date: Jan 2006 Location: UK
Posts: 73
Thanks: 17
Thanked 1 Time in 1 Post
| Hi enchant, I tried to get help with this too but I think it's been given up as a lost cause, plus I think most things can be done now through the ShortCuter plugin - have you tried that? |
| | |
| | #63 (permalink) |
| Portal Member Join Date: Mar 2008 Location: Southampton
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Country: | I'm not able to give a definite step by step guide at the moment as I can't check this but from what I can remember: 1. Don't look in the remote section of the MP Setup, instead goto the plugins section and find the Keyboard Input Plugin - right click and ensure this is enabled before selecting the configuration option. 2. This should give a screen with 3 buttons, the 1st one takes you to where you can add or remove buttons. The 2nd button takes you to where you can configure the actions when the buttons are pressed. And I think the last one closes the config. Please refere back to post 57 as otherwise you may have problems |
| | |
| This User Say Thank You: |
| | #64 (permalink) | |
| Portal Member Join Date: Apr 2008
Posts: 32
Thanks: 2
Thanked 0 Times in 0 Posts
Country: | braman, Thanks for the info! There are so many possible places to go that it's easy to overlook what you actually need. I'll give this a try. Quote:
After making several more changes, I did a search for keyboard.xml and deleted all instances of it. Mediaportal still came up, and my remote continued to work. So it appears that it's simply not reading the keyboard.xml that I'm editing, and since it's not generating an error, I have no idea where it's looking for it. keymap.xml was deleted some time ago, so where is Mediaportal getting its keymap info from?? Last edited by enchant; 2008-06-02 at 23:18. Reason: Automerged Doublepost | |
| | |
| | #65 (permalink) |
| Portal Member Join Date: Mar 2008 Location: Southampton
Posts: 7
Thanks: 0
Thanked 1 Time in 1 Post
Country: | Did you read and take into account Post 57 in this thread? Since RC1 it should be looking in C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\InputDeviceMappings for the keymap.xml file. Last edited by braman; 2008-06-02 at 23:46. |
| | |
| | #66 (permalink) | |
| Portal Member Join Date: Apr 2008
Posts: 32
Thanks: 2
Thanked 0 Times in 0 Posts
Country: | Yes, I did. I noticed that it saved the file in the "custom" directory, rather than "default". So I copied it back. I think it makes things a lot easier if I simply edit the file with a text editor. This is the edit that I make: Changing this: Code: <button name="Mute" code="119"> <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="9982" sound="click.wav" /> </button> Code: <button name="Mute" code="83"> <action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="9982" sound="click.wav" /> </button> Perhaps I simply need to know where Mediaportal will read it from. Msg #57 says: Quote:
But I don't have a directory C:\Documents and Settings\All Users\Application Data\Team MediaPortal I have Mediaportal installed here: e:\program files\MediaPortal Where should Keyboard.xml reside? It's currently here: e:\program files\MediaPortal\InputDeviceMappings\defaults Once I make my edits, does some other file need to be updated? Last edited by enchant; 2008-06-03 at 00:09. | |
| | |
| | #67 (permalink) |
| MP Donator ![]() | Hi all, can someone please tell me how to configure it like this: - if no media is playing - > TV Guide (no overlay, >TVGuide is the main windows) - if media is playing - >TV Guide (as overlay with media playing in the background) I don't find the right settings and it's really time consuming to test through all the options. ATM this is working: All Layers -> No condition -> Window "TVGuide" for your help!
__________________ (\__/) (O.o ) (> < ) This is Bunny. Copy Bunny into your signature to help him on his way to world domination |
| | |
| | #68 (permalink) | |
| Portal Member | Quote:
I have this plugin running successfully, mostly because I was never able to get the Shortcuter plugin to work for me. In your case the main problem seems to be finding out where MP is trying to read the "keyboard.xml" file from. The trick that I have used many times in trying to find out what MP was doing is to use Process Monitor. It's a free tool that you can easily find with Google. Just set it to filter out all events so that it only shows you events on the parameter "path", containing "keyboard.xml", then start MP with Process Monitor in the background and the plugin enabled. If you then exit MP again, you should have an entry in Process Monitor telling where MP was trying trying to read the file from. Regarding the layers and conditions, I never figured out how that works, but I use this plugin to map shortcuts to things like TV series, recorded TV etc. to "CTRL-ALT + any letter" keyboard shortcuts, and those shortcuts are produced by my iMon remote driver. As far as setting things up I never used the config tool for the plugin in the normal way because it kept crashing on me. I only used it to figure out which numeric code had to go in the XML file for any given key-combo. It shows that live somewhere in the tool whenever you press a key. Then I just edited the XML file in notepad. If you need any more info, just let me know. | |
| | |
| | #69 (permalink) | |
| Portal User Join Date: Oct 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
| Hi buddy, thanks for this code its brilliant. I have an S-presso I used with mythtv for some time and now decided to give mediaportal a go. I was hoping you could clarify this clashing issue of the S-Presso remote. I have tried to disable all HID devices etc, but no luck. Left and right presses on the remote jumps two moves at a time. Clearly you had this too, but unfortunately I can't seem to figure out what else to do to fix this! Cheers F: thx: Quote:
| |
| | |
| | #70 (permalink) |
| Portal User Join Date: Oct 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
| Hi Rsenden, sorry for the bother, I found it. It was under the local setting folder and not in the 'Program files' folder. I just deleted the duplicate file and it all works sweet now! Now I'll just have to find a way to stick 2x drives in that teeny S-presso box and Raid them... might have to go with 2.5" ones |
| | |
![]() |
| Bookmarks |
| Tags |
| generic, input, keyboard or remote, plugin |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Generic Streaming Media Plugin or protocol system... | simex | Improvement Suggestions | 3 | 2006-10-20 05:28 |
| Virtual keyboard with cell phone input style | masali | Improvement Suggestions | 1 | 2006-03-28 16:50 |
| Clan Messages Reader plugin...generic layout for every skin? | BigCheese | Plugins | 6 | 2006-02-16 00:33 |
| Using generic remote as MCE remote | anything | General Support | 7 | 2005-12-12 09:47 |
| Skinnable virtual keyboard and maybe predictive input | Smirnuff | General Development (no feature request here!) | 32 | 2005-04-23 14:05 |