Re: Re (hello?): [PATCH] Let keyboard notifiers modify key codes
- From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 9 Jan 2009 21:35:55 +0000
On Fri, 9 Jan 2009 22:23:58 +0100
Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> wrote:
Hello,
Came somebody have a look at this? The need is real, the only question
that comes to my mind is whether notifiers are allowed to modify the
param they are given. Since they are not marked const, I'd guess it'd
be ok?
The notifier code doesn't care.
Make kbd_keycode() read param.value after calling the keyboard notification
chain, to let the callee change the translation on the fly. This for instance
permits to remap the physical positions of the keys independently of the
configured keymap, for e.g. single-handed people.
Surely that is just a new keymap ?
--
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/
- Follow-Ups:
- Re: Re (hello?): [PATCH] Let keyboard notifiers modify key codes
- From: Samuel Thibault
- Re: Re (hello?): [PATCH] Let keyboard notifiers modify key codes
- References:
- [PATCH] Let keyboard notifiers modify key codes
- From: Samuel Thibault
- Re (hello?): [PATCH] Let keyboard notifiers modify key codes
- From: Samuel Thibault
- [PATCH] Let keyboard notifiers modify key codes
- Prev by Date: Re: post 2.6.28 regression: device_initialize() now sleeps, and may fail without recovery strategy
- Next by Date: [PATCH] add rtc platform driver for EFI
- Previous by thread: Re (hello?): [PATCH] Let keyboard notifiers modify key codes
- Next by thread: Re: Re (hello?): [PATCH] Let keyboard notifiers modify key codes
- Index(es):