2008-10-31, 11:17
Hi,
I bought a cheap cyberlink remote control with a USB receiver and I'm trying my best to get it to work.
Right now I've managed to get most basic keys working (play/pause) thanks to the fact that it sends through normal keypresses for numbers. I'm then using a logitech harmony remote and I map the number 2 for example to Play.
Now I want to get extra keys working, for things like going directly to music, videos, etc.
I've read up a lot and found this which describes how my remote works:
https://wiki.ubuntu.com/DesktopTeam/Spec...rolSupport
Basically my remote shows up as /dev/input/event3
After installing dvb-utils I can use this command to see keypresses: sudo evtest /dev/input/event3
All going well so far. Now, how do I get XBMC to know about these extra keys? I tried putting this in my Keymaps file:
<remote name="TopSeed Tech Corp. USB IR Combo Device">
<mp3>XBMC.ActivateWindow(MyMusic)</mp3>
</remote>
But when I press the key nothing happens + nothing is seen in my xbmc.log file.
Just to make it a bit more complicated I'm not sure if I'm using the right name for the remote, /proc/bus/input/devices shows it as:
N: Name="TopSeed Tech Corp. USB IR Combo Device "
Should I include the space at the end as well? (I did try and it didn't seem to change anything.)
I also found this post:
https://help.ubuntu.com/community/Logite...raX_Remote
It describes using an app called KeyWatcher. I was going to try to use this to handle starting + stopping XBMC via a key on the remote.
Any help getting this to work is greatly appreciated. I've almost got my integrated file server/dns server/svn server/family friendly xbmc HD capable system working and this is the final step.
I bought a cheap cyberlink remote control with a USB receiver and I'm trying my best to get it to work.
Right now I've managed to get most basic keys working (play/pause) thanks to the fact that it sends through normal keypresses for numbers. I'm then using a logitech harmony remote and I map the number 2 for example to Play.
Now I want to get extra keys working, for things like going directly to music, videos, etc.
I've read up a lot and found this which describes how my remote works:
https://wiki.ubuntu.com/DesktopTeam/Spec...rolSupport
Basically my remote shows up as /dev/input/event3
After installing dvb-utils I can use this command to see keypresses: sudo evtest /dev/input/event3
All going well so far. Now, how do I get XBMC to know about these extra keys? I tried putting this in my Keymaps file:
<remote name="TopSeed Tech Corp. USB IR Combo Device">
<mp3>XBMC.ActivateWindow(MyMusic)</mp3>
</remote>
But when I press the key nothing happens + nothing is seen in my xbmc.log file.
Just to make it a bit more complicated I'm not sure if I'm using the right name for the remote, /proc/bus/input/devices shows it as:
N: Name="TopSeed Tech Corp. USB IR Combo Device "
Should I include the space at the end as well? (I did try and it didn't seem to change anything.)
I also found this post:
https://help.ubuntu.com/community/Logite...raX_Remote
It describes using an app called KeyWatcher. I was going to try to use this to handle starting + stopping XBMC via a key on the remote.
Any help getting this to work is greatly appreciated. I've almost got my integrated file server/dns server/svn server/family friendly xbmc HD capable system working and this is the final step.