[mythtv-users] lirc in myth, supported keys list

Jeff Simpson jeffsimpson at alum.wpi.edu
Sat Apr 8 18:25:45 UTC 2006


I'm trying to revamp my lirc setup to be more useful now that there is
a mythcontrols plugin that allows convenient key-remapping.

I'm looking for a list of keys that myth will accept through lirc. I
can't seem to find anything on the wiki or on the mailinglist
archives.

lirc.org has this to say about what keys you can use:

config
    is the string that will be passed to the according application
whenever the specified key sequence is received by lircd. If you give
more than one config string, the config strings will be passed to the
applications by turns. With this feature you can for example implement
toggle buttons.
    You can pass non-printable characters to applications with all
standard C escape sequences (most common are: \n = line-feed, \r =
carriage return, \t = tab, \e = escape, \<n> = ASCII code in octal
representation, \x<n> = ASCII code in hexadecimal representation, \\ =
backslash). Additionally you can supply Ctrl-X by specifying \X where
X is an upper character or @. For example \C is Ctrl-C.


That leads me to believe that it just reads ascii keys. I don't
believe that, since I know myth can read more keys than that, becase I
just tried "config = F11" and it worked. Is there a list of key names
I can use, along with what modifiers are accepted? I'd like to map
some of the strange buttons on my remote to even-stranger key
combinations so that they don't overshadow anything on the keyboard.
(ie, I don't want to wonder 6 months from now why the dollar sign
makes me jump to liveTV or % plays a dvd.

Thanks!

 - Jeff


More information about the mythtv-users mailing list