Re: [PATCH] trackpoint: enable selection of press-to-select button

From: Tom Weissmann
Date: Wed Jul 01 2009 - 06:45:08 EST


2009/6/30 Pavel Machek <pavel@xxxxxx>:

>> With this patch the trackpoint sysfs variable press-to-select can be
>> set not only to 0 (off), 1 (left button), but also to 2 (middle
>> button) and 3 (right button). This makes the feature more useful for
>> left-handed users with no visible changes to the right-handed default
>> behaviour.
>
> Uhuh. Ugly as night. Could we instead convert press to button 4, and
> let userland map it?

This would be much better.

However, as far as I know it is not possible to distinguish a "real"
button click from a PTS one.
The PTS button is determined by 3 masks (button 1, 2, 3). I believe
that if more than one mask is set, PTS will still only generate one
click, not two simultaneous ones.

Regards,
Tom
--
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/