From: James S. <jsi...@tr...> - 2001-07-25 03:39:21
|
> Greetings. > > Would it be possible to add the following keycodes to input.h? They would > be most useful in reduction of inter-linking low-level keyboard handling > with other kernel drivers. > > KEY_BRIGHTNESSUP > KEY_BRIGHTNESSDOWN > KEY_CONTRASTUP > KEY_CONTRASTDOWN > KEY_PCMCIAEJECT1 > KEY_PCMCIAEJECT2 Actually I have worked on some stuff dealing with this. Usually you are dealing with touchscreens with backlights. I made a special handler for this (power.c). It needs more work. basically it use KEY_POWER and KEY_SUSPEND. We sort of have a EJECT key (KEY_EJECTCD). It would be nice if that was named to KEY_EJECT to be more generic. > Attached is the segment from a set of patches which implement some of these, > available in full at http://www.execpc.com/~jpgarcia/dev/jpgpatches.tar.gz Will take a look. |