Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
windows keys and vista mce remote
#1
Thumbs Up 
I have a vista mce remote that works like a HID keyboard.
I've mapped succesfully almost every key.
I have a problem with the green start button(the one with windows logo).
Looking with xev I see that key is mapped in this way : Alt_L + Super_L + Return.
I don't know how to manage the Super_L (left windows key) in xbmc.
I've tried this config in my keyboard.xml:

<return mod="leftwindows,alt">Info</return>

but xbmc doesn't recognize the event.I see in the log of xbmc the keycodes of the keys( 133 + 64 + 36 ) but no action executed.
I suppose that left windows key can't be used as a mod key.
Is there a way to manage this situation?
Reply
#2
Ok I've solved.
The leftwindows key is just called "win" in keyboard.xml so I've modified in this way:

<return mod="alt,win">Info</return>

Works perfectly !Nod
And everything without lirc or other software,great!
Reply
#3
slux Wrote:Ok I've solved.
The leftwindows key is just called "win" in keyboard.xml so I've modified in this way:

<return mod="alt,win">Info</return>

Works perfectly !Nod
And everything without lirc or other software,great!

Hi slux,

could You share Your keyboard.xml?
It would help other users to manage their remotes.

Br, Zemy
Reply
#4
Hi Zemy,

I've just added some key definition in the standard keyboard.xml and enabled the option "Remote control sends keyboard presses" in System Settings - Input Devices.

Here it is my adds:
Code:
<!-- MS Media Center keyboard shortcuts sent by MCE remotes -->
      <!-- See http://msdn.microsoft.com/en-us/library/bb189249.aspx -->
      <p mod="ctrl,shift">Play</p>        <!-- Play -->
      <s mod="ctrl,shift">Stop</s>        <!-- Stop -->
      <p mod="ctrl">Pause</p>             <!-- Pause -->
      <f mod="ctrl,shift">FastForward</f> <!-- Fwd -->
      <b mod="ctrl,shift">Rewind</b>      <!-- Rew -->
      <f mod="ctrl">SkipNext</f>          <!-- Skip -->
      <b mod="ctrl">SkipPrevious</b>      <!-- Replay -->
[b]  <t mod="ctrl,shift">FullScreen</t>  <!-- FullScreen -->
      <m mod="ctrl">XBMC.ActivateWindow(MyMusic)</m>
      <i mod="ctrl">XBMC.ActivateWindow(MyPictures)</i>
      <e mod="ctrl">XBMC.ActivateWindow(MyVideos)</e>
      <o mod="ctrl">OSD</o>
      <g mod="ctrl">CodecInfo</g>
      <t mod="ctrl">ShowTime</t>
      <m mod="ctrl,shift">ShowVideoMenu</m>
      <return mod="alt,win">Info</return>[/b]

The bold lines are my adds.Try if you like them.

There is still some issue with the "I" key (Info).It works like the right button of the mouse so I need to find a fix for that.
I'm aware about the wiki page http://wiki.xbmc.org/index.php?title=Hama_MCE_Remote
but I want try without udev.rules and inputlirc stuff.I'm almost there.
Reply
#5
Thumbs Up 
Guys throw away everything and read carefully the whole thread!
http://forum.xbmc.org/showthread.php?p=6...post602445
100% working remote!!!!NodNod
Reply

Logout Mark Read Team Forum Stats Members Help
windows keys and vista mce remote0