Jump to content
Flirc Forums

murkyl

Members
  • Posts

    2
  • Joined

  • Last visited

murkyl's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. For those that want to go the route of editing their XBMC keymap file this URL has 2 useful utilities for Windows users: http://xbmcmce.sourceforge.net/ There is a showkey.exe that will give you the exact line of text you need to add into your keymap.xml file and it works great as a key tester. It's better than opening a word processor since it gives you information on key modifiers ctrl and alt. There is also a program to actually help you create the keymap.xml file itself although I prefer to hand edit the file. It goes without saying that with all the extra keys you can add lots of extras. My example above added 4 options for power. Suspend puts the computer to sleep. Reboot will reboot the computer. Powerdown powers off the machine. Shutdown is slightly special. It automatically performs the action defined in the System -> Settings -> System -> Power Saving -> Shutdown Action. So this could sleep or power off the computer depending on what you configure. I like having a key code to reload the keymap so when I edit the map I can test out the key immediately in XBMC without reloading XBMC. Also, if you have a typo you have a chance to fix it and reload again. Here are a few other uses for the extra keys I've added to the global section: <f1 mod="alt">ActivateWindow(Home)</f1> <f2 mod="alt">ActivateWindow(videolibrary,movietitles,return)</f2> <f3 mod="alt">ActivateWindow(videolibrary,tvshowtitles,return)</f3> <f4 mod="alt">ActivateWindow(MyVideo,files,return)</f4> <f5 mod="alt">ActivateWindow(MyPictures)</f5> <f6 mod="alt">ActivateWindow(MusicLibrary)</f6> <f7 mod="alt">ActivateWindow(Weather)</f7> I assign these to the soft buttons on my Harmony. This allows me to jump to Home, Movies, TV Shows, Video Files, Pictures, Music and Weather in that order. If you want to know exactly what keys do what in XBMC, this link shows the default keymap.xml file for XBMC: https://github.com/xbmc/xbmc/blob/master/system/keymaps/keyboard.xml#L39
  2. I took the route of manually configuring FLIRC with a Harmony 650. I also added 20 extra keys through the IR learning feature. I programmed the Harmony 650 with the Panasonic TV profile and used a second learning remote to "learn" the numbers 1-10. Then I turned around and had the Harmony "learn" the IR codes for the same 10 buttons extending the FLIRC profile. I did this again with the Samsung TV profile so I had 20 additional buttons I could use. I mapped the 10 buttons to ALT-F1 through F10 and CTRL-F1 through F10 in FLIRC. With the new firmware you SHOULD be able to assign one of these buton presses to the WAKE key. If you suspend XBMC you should be able to wake it using this button press. Taking another one of these new buttons, I set it up to suspend XBMC and made the modification to the keymap.xml file. Here is the relevant section in the <global> block <global> <keyboard> <f7 mod="ctrl">Suspend</f7> <f8 mod="ctrl">Reboot</f8> <f9 mod="ctrl">Powerdown</f9> <f10 mod="ctrl">ShutDown</f10> <f4 mod="ctrl">reloadkeymaps</f4> <k mod="ctrl">reloadkeymaps</k> </keyboard> </global> Then in the Harmony software for the device, you can setup the power control for the device so that power on presses your wake key and power off presses CTRL-F7. That should get power on and off working in XBMC.
×
×
  • Create New...