lkml.org 
[lkml]   [2009]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Re (hello?): [PATCH] Let keyboard notifiers modify key codes
On Fri, 9 Jan 2009 22:23:58 +0100
Samuel Thibault <samuel.thibault@ens-lyon.org> 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 ?



\
 
 \ /
  Last update: 2009-01-09 22:39    [W:0.058 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site