Bug 17681 - Add Sensitivity option
Summary: Add Sensitivity option
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 16699
  Show dependency treegraph
 
Reported: 2008-09-20 09:13 UTC by Olav Morken
Modified: 2008-09-22 16:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch which adds Sensitivity option to evdev (2.11 KB, patch)
2008-09-20 09:13 UTC, Olav Morken
no flags Details | Splinter Review

Description Olav Morken 2008-09-20 09:13:01 UTC
Created attachment 19039 [details] [review]
Patch which adds Sensitivity option to evdev

This is a patch which adds the Sensitivity option (based on the same option in the xf86-input-mouse driver) to the evdev driver. This makes it relatively easy to adjust the speed on a per-mouse basis while using hal/hotplug.

Any chance of having this option included?
Comment 1 Peter Hutterer 2008-09-20 18:37:59 UTC
On Sat, Sep 20, 2008 at 09:13:01AM -0700, bugzilla-daemon@freedesktop.org wrote:
> This is a patch which adds the Sensitivity option (based on the same option in
> the xf86-input-mouse driver) to the evdev driver. This makes it relatively easy
> to adjust the speed on a per-mouse basis while using hal/hotplug.
> 
> Any chance of having this option included?

I'd prefer of fixing this by adjusting pointer accel for the device rather
than duplicating pointer accel in the driver.
Comment 2 Olav Morken 2008-09-21 08:12:48 UTC
> I'd prefer of fixing this by adjusting pointer accel for the device rather
> than duplicating pointer accel in the driver.

Do you mean adjusting the acceleration from the evdev driver when the device is added, or running a seperate program which waits for input devices to be added, and updates the acceleration when it does?

I can't see any clean way of adjusting the acceleration from the driver, since the X server doesn't seem to expose any interface for doing this.

As for running a seperate program, it is something I would prefer to avoid. If it is the only way, I suppose I could throw together some shell-scripts to do it.
Comment 3 Peter Hutterer 2008-09-21 18:54:11 UTC
Acceleration should not be done in the driver at all, unless otherwise
necessary.

We have fairly sophisticated ptraccel in master now, so having a program that
lets you adjust ptraccel for each device found would be the ideal solution.
All the accel parameters are accessible through options, so you could just
hook into HAL. If the device then gets added, it already gets added with the
right options.
Comment 4 Olav Morken 2008-09-22 11:03:15 UTC
> We have fairly sophisticated ptraccel in master now, so having a program that
> lets you adjust ptraccel for each device found would be the ideal solution.
> All the accel parameters are accessible through options, so you could just
> hook into HAL. If the device then gets added, it already gets added with the
> right options.

Ah, that is great news! Being able to control the speed of the mouse by setting options through HAL was always my goal. Adding a Sensitivity option to the evdev driver just seemed to be the most straigthforward way to achieve this. Feel free to close this bug.
Comment 5 Peter Hutterer 2008-09-22 16:36:53 UTC
Closing as WONTFIX, as we won't add that to the driver.
See above comments for further explanation.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.