Touchpad toggle mess

Julien Cristau jcristau at debian.org
Sat Nov 13 10:10:13 PST 2010


On Sat, Nov  6, 2010 at 15:58:21 +0000, Bastien Nocera wrote:

> On Sat, 2010-11-06 at 11:30 -0400, Martin Pitt wrote:
> > Hello Bastien,
> > 
> > Bastien Nocera [2010-11-05  0:00 +0000]:
> > > The patches in https://bugs.freedesktop.org/show_bug.cgi?id=31300
> > > implement this for the kernel, and for X.org.
> > > 
> > > Then we have the problem that udev's keymaps seem to use different
> > > function keys depending on the hardware [1], when X.org (because of the
> > > limitations of XKB) standardised on F22 for "XF86TouchpadToggle".
> > 
> > Thanks for bringing this up, indeed there's some cleanup in order
> > here.
> > 
> > > So we'll need to standardise on the keys used. I selected F21 for
> > > XF86TouchpadToggle, F22 for XF86TouchpadOn and F23 for XF86TouchpadOff.
> > > See the patch in:
> > > https://bugs.freedesktop.org/show_bug.cgi?id=31333
> > > 
> > > The remaining fixes would need to be in udev's keymaps, to set hardware
> > > handled keys to F22 and F23, and software ones to F21. Patch is attached
> > > for that.
> > 
> > Indeed the maps which don't currently use f22 should be fixed,
> > regardless of what happens in X/kernel/userspace. My main concern is
> > that F22 has acted as touchpad toggle key for years
> 
> No, for about a year:
> http://cgit.freedesktop.org/xkeyboard-config/commit/?id=1d05eda8dfc706d6450cab5883120e0d5e1100c0
> 
That seems long enough that moving touchpad toggle from f22 to something
else for no particular reason will break stuff...

Cheers,
Julien



More information about the xorg mailing list