[PATCH] HAL Keymap Quirks: hal-info keyboard support for BenQ R22e

Danny Kukawka danny.kukawka at web.de
Mon Jul 30 08:00:41 PDT 2007


On Montag, 30. Juli 2007, Lennart Poettering wrote:
> On Mon, 30.07.07 16:28, Danny Kukawka (danny.kukawka at web.de) wrote:
> > On Montag, 30. Juli 2007, Paul Menzel wrote:
> > > Am Montag, den 30.07.2007, 12:43 +0100 schrieb Richard Hughes:
> > > > 6d for both brightness up and down?
> > >
> > > Yes. I checked it several times.
> >
> > But then you never know if it go up or down. You can't (?) map the key
> > two times.
>
> I guess this one of the cases where the brightness level may be
> queried from the hadrware via some special driver and the keypress
> event is basically just a notification for the software that the
> brightness has changed and that the software should read the new
> brightness from the hardware and possibly show a nice OSD gauge when
> it changed from what was read previously.

But wouldn't it be better in this case to not map the keys and let the 
software/driver/whatever get the unknown keyevent, check which one it is, 
send an new key event (via the input layer) and do the related mapping (to 
brightness up/down) before? The current setting make IMO no sense.

Danny




More information about the hal mailing list