Re: [PATCH] lirc for 2.5/2.6 kernels - 20030802

From: Pavel Machek
Date: Mon Aug 11 2003 - 15:01:19 EST


Hi!

> > > > IMHO there's one problem:
> > > >
> > > > If a remote control has e.g. a "1" key this doesn't mean that a user
> > > > wants a "1" to be written into your editor while editing source code.
> > > > The "1" key on a remote control simply has a differnt _meaning_ than
> > > > the "1" key on your keyboard -- depending of course on what the user
> > > > thinks this key should mean.
> > >
> > > That's what BTN_1 is for. ;)
> >
> > Ahha, I thought BTN_1 would be first mouse button ;-). Will fix that.
>
> No, that'd be BTN_LEFT.

Okay, then what about this:

The control has keypad labeled 0..9 and at the same time it has arrows
on it (its meant for mouse emulation). Then it has keys DISPLAY/L, and
LOOP/R. If I mark DISPLAY/L as BTN_LEFT, will it be the "right thing"
(tm)?

Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/