Linux Key codes for remote control?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
giaur Online
Senior Member
Posts: 243
Joined: Nov 2011
Reputation: 0
Post: #1
Hello,

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

...etc

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
(This post was last modified: 2012-05-14 00:53 by giaur.)
find quote
giaur Online
Senior Member
Posts: 243
Joined: Nov 2011
Reputation: 0
Post: #2
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?
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #3
See:
http://wiki.xbmc.org/index.php?title=Action_IDs
http://wiki.xbmc.org/?title=List_of_Built_In_Functions
find quote
giaur Online
Senior Member
Posts: 243
Joined: Nov 2011
Reputation: 0
Post: #4
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?
find quote
jhsrennie Offline
Team-XBMC Developer
Posts: 7,237
Joined: Nov 2008
Reputation: 117
Location: Chester, UK
Post: #5
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.
find quote