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?
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.
> 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.
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.
> 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.
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.