Well, I just renamed the according section in my lircd.conf.
So status is: Strange.. I can control xbmc, but not everything. Main keys/functions are working (up, down, left, right, select) but whatever I try, I can't get the contextmenu to work.. irw answers to every single key on my keyboard, so the lirc side is working properly.
I already tried remapping a key that works in xbmc to contextmenu, doesn't work. Remapping the same key to "back" for instance works fine. Maybe I got it all wrong, so I will just post my three config files here, maybe someone can point me to my error..
Here we go:
/etc/lircd.conf
Code:
begin remote
name philips
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 951 824
zero 951 824
plead 998
gap 113804
toggle_bit 2
begin codes
1 0x1141
2 0x1142
3 0x1143
4 0x1144
5 0x1145
6 0x1146
7 0x1147
8 0x1148
9 0x1149
0 0x1140
reverse 0x1172
play 0x1175
forward 0x1174
stop 0x1176
record 0x1177
pause 0x1170
-/-- 0x114A
surround 0x117A
mute 0x100D
volumeplus 0x1010
volumeminus 0x1011
progplus 0x1160
progminus 0x1161
info 0x114F
contextmenu 0x1178
menu 0x0152
back 0x0153
select 0x0157
left 0x0155
right 0x0156
up 0x0150
down 0x0151
guide 0x017D
showview 0x0145
timer 0x115D
fav 0x1171
disc 0x117C
power 0x114C
end codes
end remote
/home/xbmc/.xbmc/userdata/Lircmap.xml
Code:
<lircmap>
<remote device="philips">
<pause>pause</pause>
<Stop>stop</Stop>
<forward>forward</forward>
<reverse>reverse</reverse>
<left>left</left>
<right>right</right>
<up>up</up>
<down>down</down>
<select>select</select>
<pageplus>progplus</pageplus>
<pageminus>progminus</pageminus>
<back>back</back>
<menu>menu</menu>
<contextmenu>ContextMenu</contextmenu>
<info>info</info>
<skipplus>Skip</skipplus>
<skipminus>Replay</skipminus>
<display>fav</display>
<start>showview</start>
<record>rec</record>
<VolumeUp>volumeplus</VolumeUp>
<VolumeDown>volumeminus</VolumeDown>
<Mute>mute</Mute>
<power>power</power>
<myvideo>disc</myvideo>
<mymusic>Music</mymusic>
<mypictures>Pictures</mypictures>
<mytv>TV</mytv>
<one>1</one>
<two>2</two>
<three>3</three>
<four>4</four>
<five>5</five>
<six>6</six>
<seven>7</seven>
<eight>8</eight>
<nine>9</nine>
<zero>0</zero>
<mytv>Red</mytv>
<mymusic>Green</mymusic>
<mypictures>Yellow</mypictures>
<myvideo>Blue</myvideo>
</remote>
/home/xbmc/.xbmc/userdata/Keymap.xml
Code:
<keymap>
<global>
<remote>
<volumeplus>VolumeUp</volumeplus>
<volumeminus>VolumeDown</volumeminus>
<mute>Mute</mute>
<play>Play</play>
<pause>Pause</pause>
<stop>Stop</stop>
<forward>FastForward</forward>
<reverse>Rewind</reverse>
<left>Left</left>
<right>Right</right>
<up>Up</up>
<down>Down</down>
<select>select</select>
<pageplus>PageUp</pageplus>
<pageminus>PageDown</pageminus>
<back>ParentDir</back>
<menu>PreviousMenu</menu>
<ContextMenu>contextmenu</ContextMenu>
<info>Info</info>
<skipplus>SkipNext</skipplus>
<skipminus>SkipPrevious</skipminus>
<display>FullScreen</display>
<start>PreviousMenu</start>
<record>Screenshot</record>
<volumeplus>VolumeUp</volumeplus>
<volumeminus>VolumeDown</volumeminus>
<mute>Mute</mute>
<power>XBMC.ShutDown()ii</power>
<myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
<mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
<mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
<mytv>XBMC.ActivateWindow(Home)</mytv>
</remote>
Damn, pressed "submit" instead of "preview"..
Anyway, that was about it, I am not very god with mappings ever since, I tend to get mixed up, so maybe the solution is fairly simple. Another strange issue, though: When I put bogus into /etc/lircd.conf, let's say all numbers, I can still control some xbmc functions like up and down. How can that be?!
Best regards,
../nico