[mythtv-users] help with ati remote and mythtv
Doug Miller
dmiller at flcommunications.com
Mon Sep 15 16:43:22 EDT 2003
George Herndon wrote:
> if no, then how are people doing this?
The way I use the ati remote is to just change the ati_remote.c program
to have the remote send the keys I want it to send instead of messing
with xmodmap. I suppose it just comes down to preference (and I may try
using xmodmap). I have only 1 issue with the way I do it now, and that
is I don't know how to map the question mark (.
I'm not going to include a diff for you to use since you will very
likely use different settings then I, but here is some of the changes I
made to the file to suit my needs.
{KIND_FILTERED, 0xc5, 0x00, EV_KEY, KEY_F7, 1}, /* A */
{KIND_FILTERED, 0xc6, 0x01, EV_KEY, KEY_F8, 1}, /* B */
{KIND_FILTERED, 0xde, 0x19, EV_KEY, KEY_I, 1}, /* C */
{KIND_FILTERED, 0xe0, 0x1b, EV_KEY, KEY_M, 1}, /* D */
{KIND_FILTERED, 0xe6, 0x21, EV_KEY, KEY_SPACE, 1}, /* E */
{KIND_FILTERED, 0xe8, 0x23, EV_KEY, KEY_SLASH, 1}, /* F */
The rest of my changes are pretty much a mess right now (finally got my
myth box back up and running), but I think that should give you an idea
of what you can do.
You will have to rmmod (if its running) and then insmod the ati_remote.o
file for it to take effect every time you recompile it.
Whether its easier or not is up to you.
More information about the mythtv-users
mailing list