Generic Keyboard/Remote Input Plugin (4 Viewers)

dust_ag

Portal Member
October 19, 2007
19
1
Home Country
Switzerland Switzerland
rsenden,

Thanks for this plugin. It makes me easier to configure my MCE remote on my Antec case (which translates remote info to keypress). :D

But, I think I am stupid because I didn't find how to change key codes in your mapping config window. :oops: I had to change key codes manually in the keyboard.xml file ! Even using version 1.1.0.0. In fact, the 2 fields in front of "key" at the right of the window are greyed.
I also don't understand what the aim of the Add/Remove button window. When I add a key definition, I'm not able to use it anywhere. :confused:

I use MP 0.2.3 RC3 on Vista 32bits.

Thanks to help a completely lost guy !

Regards.
dust_ag
 

xefil

Portal Member
October 30, 2007
10
0
Thank's for this plugin, maybe now I'm at the right point to make work my remote.
After a lot of tries with IR remotes MCE Remotes I've understood this remote is considered like an HID Device.
I've only a problem:
Befor I used this plugin, only the arrows andvolume worked well, now all buttons (have to end to remap) are working, BUT the arrows and volume, pressing it one time, i obtain a double click ... it seems now MP register the press two times.... why?

Thank's!

Simon
 

Mike69

Portal Pro
November 9, 2006
80
0
112
Thank's for this plugin, maybe now I'm at the right point to make work my remote.
After a lot of tries with IR remotes MCE Remotes I've understood this remote is considered like an HID Device.
I've only a problem:
Befor I used this plugin, only the arrows andvolume worked well, now all buttons (have to end to remap) are working, BUT the arrows and volume, pressing it one time, i obtain a double click ... it seems now MP register the press two times.... why?

Thank's!

Simon

dont configure the arrows and volume keys in the plugin because your o.s. is giving an action to those keys and the plugin is doing the same thing
 

xefil

Portal Member
October 30, 2007
10
0
I've found the problem. Simple rtfm... :)
It's written to disable/delete the keymap.xml of MP otherwise I obtain this issue
Deleted the file, all went well!
Thank's anyway!!!
Simon
 

sawyer

New Member
July 27, 2006
4
0
Hi all please explain for a total newbie how to use this plugin to jump straight to tv-series screen from home screen
with keyboard/remote ?????
i have read entire post but still can't figure it out
thanks in advance
sawyer
 

dbinaz

Portal Member
October 27, 2007
13
0
Phoenix, AZ
Home Country
United States of America United States of America
ya, I am kinda lost too. The key boxes are greyed out. I can't even figure out how to use the built in MP one and can't find info anywhere onit.
 

armyofme

Portal Pro
January 21, 2006
121
3
York
Home Country
United Kingdom United Kingdom
Finally got this working and now have a dedicated My Lyrics and My Music Videos keys. Well chuffed! Many thanks Rsenden!
 

armyofme

Portal Pro
January 21, 2006
121
3
York
Home Country
United Kingdom United Kingdom
Hi chemelli,

To be honest I had to do quite a bit of messing about! Like others I couldn't get complete control of the plugin so I changed key codes manually in the keyboard.xml file. The plugin helped me to understand how the xml file worked. Here's what I did (I hope I don't miss any steps out!)

1. I opened up the plugin and selected the Add/Remove Buttons option. Here I used the button code field to find out what code would be for ctrl-alt and l (which was 110076) as I thought these would be a good key combination for MyLyrics.
2. I then downloaded stanik's keyboard.xml file (page 1 of this thread) and put this in the MediaPortal\InputDeviceMappings\defaults folder (this replaced the existing one - if you do this I would recommend keeping a copy of the existing one in case you need it later).
3. I then opened up stanik's keyboard.xml file and under the information for the Music button I placed the following commands:

<button name="Lyrics" code="110076">
<action layer="0" condition="*" conproperty="-1" command="WINDOW" cmdproperty="90478" sound="click.wav"/>
<action layer="0" condition="*" conproperty="-1" command="ACTION" cmdproperty="13" sound="click.wav" />
</button>

As you can see the 110076 part is the code for control, alt and 'l'. In the second line the cmdproperty is 90478. This is the id for the MyLyrics page. Now you could substitute this with the id for any page.

Using the above information I now have buttons on my remote (Imon remote using Girder to map the keystrokes) which taking me straight to MyLyrics, NowPlaying, MyMusicPlaylist screens which I think is great. I use MP for Music more than anything and like the fact that I can get around the music section so easily now.

So as you can see quite a bit of messing about. I didn't use the plugin a great deal but it has helped me to learn about the key mapping. I'm sure there is probably a much easier way to do the above but I couldn't work it out.

I still don't really understand the language in the keyboard.xml file and would like to. For instance in the MyLyrics example above, what does the third line do? I've tried messing around with it to work it out but didn't get very far!

What my aim now is is to have one button that I press that takes me straight to the mymusicplaylist and starts up random on the audioscrobbler. Now that would be ace but maybe I'm asking too much! Can anyone help?
 

Users who are viewing this thread

Top Bottom