Page MenuHomePhabricator

Expose libinput's mouse pointer acceleration
Open, TODOPublic

Description

On X I can set the acceleration profile to 'flat' in xf86-input-libinput which provides 1:1 movement between the device and the pointer on-screen.
/etc/X11/xorg.conf.d/50-mouse-accel.conf

Section "InputClass"
	Identifier "My Mouse"
	Driver "libinput"
	MatchIsPointer "yes"
	Option "AccelProfile" "flat"
EndSection

Is there an equivalent for the waylant version? Setting Options>Input>Mouse>Mouse acceleration to 1 (lowest) does not disable mouse acceleration entirely. (it's using linear pointer acceleration regardless I think)

Teteros created this task.Oct 17 2016, 5:38 AM
Teteros updated the task description. (Show Details)Oct 17 2016, 5:39 AM

There is nothing exposed for this yet, however it can be added. libinput allows for setting a "flat" profile .. we would just need to implement this in EFL Api and have a config option inside Enlightenment for it.

Just adding notes to self:

Expose drm2 API for use inside Enlightenment in order to handle setting mouse acceleration, and libinput_device_config_accel_set_speed() also needs to be exposed via Elput.

Will handle these after the EFL freeze is over as they are new APIs

zmike triaged this task as TODO priority.Aug 22 2017, 11:38 AM

The APIs needed for this are now exposed...they just need to be incorporated into Enlightenment's mouse settings dialog