[Linux] Key codes for remote control? - 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] Key codes for remote control? (/showthread.php?tid=131483)
Key codes for remote control? - giaur - 2012-05-14 00:51
Is there any list of key codes that xbmc accetps? I mean codes like this:
KEY_VOLUMEUP - volume up
KEY_VOLUMEDOWN - volume down
KEY_MUTE - mute
What xbmc funcions can be controlled via key codes like this? I need to setup keymap for my remote and I need key codes for change subtitles, set zoom, set contrast, brightness etc... is there any list with all available codes? Or better: is there any way to configure this? (for example, set KEY_I for image contrast increase, KEY_D for image contrast decrease etc).
Of course, I mean key codes available from udev and keymap files in /lib/udev/rc_keymaps
RE: Key codes for remote control? - giaur - 2012-05-14 08:30
I found this: http://wiki.xbmc.org/index.php?title=Keyboard.xml
This is nice, but is this possible to invoke some settings directly? I mean picture brightness (down and up), picture contrast (down and up), picture zoom (down and up) while full screen video is played? I can't see this in your description?
RE: Key codes for remote control? - jhsrennie - 2012-05-14 11:32
RE: Key codes for remote control? - giaur - 2012-05-14 12:24
Sorry, I still can't figure it out. There are a lot of actions for full screen video, like stepforward, stepback etc and I can put them into <keyboard> tag. But I'm looking for actions to change some picture settings like brigtness, contrast etc, and there is no action for this?
So what should I put to <keyboard> tag to (for example), directly increase brightness? Can you provide some tip for me?
RE: Key codes for remote control? - jhsrennie - 2012-05-15 10:20
There is no action to increase the brightness. Generally if something isn't listed in the Actions or Builtins Wiki pages it can't be done from a keymap.