View Full Version : Play/Pause toggle?
I have http://www.mythtv.org/wiki/index.php/Image:Mce-hauppauge.jpg that remote, and I was wondering if there was any way to allow the huge Play button to work as both the pause and play button.
Oh cool, the IMG tag didn't work at all...This (http://www.mythtv.org/wiki/index.php/Image:Mce-hauppauge.jpg) is my remote, not that it matters, as it's solely a XBMC issue.
Halligalli
2008-05-27, 22:16
Don't know how it would be done in XBMC, but it should be pretty easy to just let lirc handle it, just remove any reference to that button in the keymap.xml and then add in your lircrc two config tags for that button. I have a similar remote, and on mine the big pause button doesn't even pause. :grin: Haven't bothered to fix it.
You can edit it through the keymap.xml (http://xbmc.org/wiki/?title=Keymap.xml) it should reside in BUILD/userdata/ or in your ~/.xbmc/userdata/ if you use the PPA version.
The "pause" tag works as the playpause toggle. You need to check the lircmap.xml aswell (LIRC isn't fully integrated in keymap.xml and lend it's mapping from the xboxremote)
By default play on a remote toggles play/pause.
Should it be any different in the Linux port?
gfairbanks
2008-05-27, 23:17
I discussed this remapping a while ago. Since I'm not a developer, I don't know if the change compared to the Xbox behavior is a deliberate one or a minor bug. Here's the post describing how I modified the key mappings:
http://xbmc.org/forum/showthread.php?t=30845
bmfrosty
2008-05-27, 23:26
MCE remote. Has fewer buttons surrounding the directional than the XBOX remote - so info gets mapped to play and menu gets mapped to the windows button. The pause button does play/pause. You can change it in keymap.xml, but when you do, make sure you map info to another button.
So for linux each remote gets it's own mapping?
Or is the evil empire remote so popular with Linux aficionados that the keymap is being centered around it?
So for linux each remote gets it's own mapping?
Or is the evil empire remote so popular with Linux aficionados that the keymap is being centered around it?
The Idea is that they will get there own mapping. Although LIRC doesn't. It have a wrapper which translates the buttonpresses to Xbox DVD Remote commands, (the wrapps are device specific whereas the Xbox DVD remote isn't)
When the EventClients are more mature LIRC Will probably be moved there aswell making it way easier to configure and easier to have more than one mapping available.
bmfrosty
2008-05-27, 23:50
So for linux each remote gets it's own mapping?
Or is the evil empire remote so popular with Linux aficionados that the keymap is being centered around it?
MCE remotes are about as standard as remotes for PCs come. It certainly possible (and not really hard either) to change the mappings around. The standard remote for XBMC is the xbox remote, but support for that under linux is a bit iffy - it takes a $20 cable, and has some problems with button repetition.
bmfrosty
2008-05-28, 00:24
This is a remote that I've ordered to try and improve my button layout while sticking with LIRC and MCE compatible remotes....
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1&item=160241451133&ssPageName=STRK:MEWN:IT&ih=006
I get this feeling that eventserver/client may do a lot to clean up the way that remotes are handled, and may eventually lead to better ways for dealing with keymaps with the way that the number of reasonably supportable input devices has been increasing.
Personally I'd like to see a separate keymap.xml for each device (keymap.mceremote.xml, keymap.keyboard.xml, keymap.ps3joy.xml, keymap.ps3bdr.xml, etc, etc), but that's probably a ways away if ever.