[LINUX] HOW-TO get Hama MCE Remote Control to fully work in Ubuntu 9.04 - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+--- Thread: [LINUX] HOW-TO get Hama MCE Remote Control to fully work in Ubuntu 9.04 (/showthread.php?tid=63152)
- Horscht - 2010-09-11 11:52
Nice, thanks again for your help.
Is it possible to remap the buttons to my liking? I assume I can use the hama_mce.xml file and edit that, put it in ~/.xbmc/keymaps, but how do I find out what commands the event server sends to XBMC?
- slux - 2010-09-11 12:01
I'm not sure,I didn't try it yet.I've fixed the remote at 1:00 am lol
You can try to start hama_mce manually(with sudo) in console and press the remote keys,you should see some output.
- Horscht - 2010-09-11 12:31
again, you provided usefull input.
Unfirtunatelly, hama_mce seems to sebd "XBMC-Ready" commands like "XBMC.ActivateWindow(HOME)", which I obviously can't remap in XBMC itself... gonna find a decent way to get it to remap, though
EDIT: looks like one has to modify the source code (hama_mce.cpp) to remap the buttons. line 102 onwards has the keymaps, obviously. Gonna fiddle with that, then recompile
- slux - 2010-09-11 12:51
yes the trick is to modify the source,not very handy,but doable.Good work.The power of open source
- fyfe - 2010-09-14 17:47
I've uploaded an updated version. It contains a few bug fixes and allows you to remap all the keys via keymaps.xml
- slux - 2010-09-14 19:28
I'm speechless!!!You did an awesome job!Thanks again for your work!This guy needs to see his work in official Xbmc code!
- Horscht - 2010-09-14 19:54
wow, great effort. I really appreciate it
- hudo - 2010-09-14 23:33
First preliminary tests indicates that your hama_mce event reader works far better than lirc with this particular remote. Thanks for a great work!
2 points do:
- I noticed some sluggishness responding to key presses _sometimes_ Most of the time it works quite well. Aldo a tad slow for me...
- Is there any particular reason buttons play and pause are mapped to the same event (pause)? Or it's my bad and remote.xml, keymap.xml, whatever.xml is to blame?
- Juanjo - 2010-09-15 02:43
hi peeps, i have been using this hama_mce tool, I had the problem of the power button repeating itself, so after resuming from suspend (power button) it would suspend again . so i patched the code, in one line. if anyone has this problem let me know ill post the fix.
- Horscht - 2010-09-15 05:25
Juanjo Wrote:hi peeps, i have been using this hama_mce tool, I had the problem of the power button repeating itself, so after resuming from suspend (power button) it would suspend again . so i patched the code, in one line. if anyone has this problem let me know ill post the fix.
I have the same problem. Please tell me what line to fix