View Full Version : Need a few tips for a custom keymap
onesojourner
2008-08-10, 20:33
I am using the mce remote and I am trying to map a button to toggle full screen. From my research I have created the file .lircrc in my home folder and then I need to add what I want to do in this format:
# toggle full screen
begin
prog =
button = DVD
config =
end
Now I just need to figure out how to get the dvd button on the remote to do this "\".
onesojourner
2008-08-13, 01:25
I just ran irw and confirmed that the button on the remote is teh "DVD" button.
xbmc can handle lirc commands itself as well. Just edit lircmap.xml
Though for lirc itself, I've always done this in the past.
begin
prog = irxevent
button = DVD
config = Key \\ CurrentWindow
end
(needs double \ )
Then run the irxevent daemon.
irxevent -d
onesojourner
2008-08-14, 16:05
Thanks for responding xgrep. I am not having any luck yet with this. I added :
begin
prog = irxevent
button = DVD
config = Key \\ CurrentWindow
end
To the end of lircmap.xml, Then I tried adding it within the mce remote section and then I tried adding it to .lircrc. I restarted the computer after each change and the DVD button is not doing anything yet. Do you have any other tips?
don't add it to lircmap.xml... you can add a config (xml format) for your remote to lircmap.xml instead of using the lirc daemon.
But if you want to use the lirc daemon add what I had above to your lirc config (.lircrc).