Bind xbmc function to lirc remote button - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Bind xbmc function to lirc remote button (/showthread.php?tid=124367) |
Bind xbmc function to lirc remote button - neostead - 2012-03-01 The thing is, i want to bind to remote's specific button an action, that will eject optical drive tray (i have problem with that in arch linux). I figure out i can use function System.Exec("eject -T /dev/sr0"). I have working lirc configuration: /etc/lirc/lircd.conf Code: begin remote ~/.xbmc/userdata/Lircmap.xml Code: <lircmap> How Let's say, i have BDVD button defined in lircd.conf file. How can i bind and action to that button? I looked up Lircmap.xml structure, witch is: <lircmap> <remote device="devicename"> <XBMC_button>LIRC_button</XBMC_button> ... </remote> </lircmap> System.Exec() is not an ordinary lirc button, so i can't bind it here. Where and how exacly i do that? |