On 24.02.2015 01:47, Peter Hutterer wrote:
> On Mon, Feb 23, 2015 at 07:54:55PM +0100, poma wrote:
>> On 23.02.2015 13:32, Hans de Goede wrote:
>>> Hi All,
>>>
>>> As described here: https://fedoraproject.org/wiki/Changes/LibinputForXorg
>>>
>>> We've been working on making xorg-x11-drv-libinput the default input driver 
>>> for the Xorg xserver under Fedora 22. All the necessary changes for this 
>>> are in place for the GNOME and KDE desktops. So starting with the next 
>>> Fedora 22 compose new Fedora 22 Workstation installations will be using 
>>> xorg-x11-drv-libinput instead of the -evdev and -synaptics drivers.
>>>
>>> For existing installations the move to libinput will not happen 
>>> automatically, as  we have not added a hard dependency on 
>>> xorg-x11-drv-libinput so the XFCE, LXDE, etc. spins can keep using the old 
>>> drivers until they have adopted their mouse/touchpad configuration settings 
>>> tools to also work with xorg-x11-drv-libinput.
>>
>> ANNOUNCE: xfce4-settings 4.11.4 released
>> https://mail.xfce.org/pipermail/xfce-announce/2015-February/000358.html
>> - Add touchpad support with libinput
>> - Add support for libinput Xorg driver (bug #11469)
>>
>> Soon as part of the
>> __  __ __            _  _    _ ____  
>> \ \/ // _| ___ ___  | || |  / |___ \ 
>>  \  /| |_ / __/ _ \ | || |_ | | __) |
>>  /  \|  _| (_|  __/ |__   _|| |/ __/ 
>> /_/\_\_|  \___\___|    |_|(_)_|_____|
>>                                      
>>
>>
>>>
>>> If you're running F-22 with GNOME or KDE, please do the following to switch 
>>> to the new driver:
>>>
>>> "sudo dnf install xorg-x11-drv-libinput"
>>>
>>
>> What is this strange command "sudo dnf"!?
>>
>> Maybe you are thinking of
>> $ pkexec yum install xorg-x11-drv-libinput
>>
>>> And let us know if you experience any issues while using the new driver.
>>>
>>
>> Sure, can you explain me how to adjust
>> Option "VelocityScale"
>> via 'xorg-x11-drv-libinput'?
> 
> Option "AccelSpeed" "<value>", range is -1.0 to +1.0, default is 0. Property
> name is "libinput Accel Speed".
> 
> Cheers,
>    Peter
> 


Thanks, however it is not an equivalent.

man 4 libinput

Option "AccelSpeed" "float"
       Sets the pointer acceleration speed within the range [-1, 1]

libinput Accel Speed
       1 32-bit float value, defines the pointer speed. Value range -1, 1

Tested with:
xfce4-settings-4.11.4-4.git20150224.fc21.x86_64
xorg-x11-drv-libinput-0.7.0-2.fc21.x86_64
xorg-x11-drv-libinput-devel-0.7.0-2.fc21.x86_64
libinput-devel-0.11.0-2.fc21.x86_64
libinput-0.11.0-2.fc21.x86_64


/etc/X11/xorg.conf.d/00-libinput-mouse.conf
# Match on all pointer types of devices

Section "InputClass"
        Identifier      "libinput pointer catchall"
        MatchIsPointer  "on"
        MatchDevicePath "/dev/input/event*"
        Option          "AccelSpeed" "+1.0"
        Driver          "libinput"
EndSection


'AccelSpeed'(input) unfortunately has nothing to do with VelocityScale(evdev)
therefore another line in the configuration of the mouse - Driver "evdev",
in order to avoid rather underdeveloped properties of the libinput.

/etc/X11/xorg.conf.d/00-evdev-mouse.conf
# Match on all pointer types of devices

Section "InputClass"
        Identifier      "Device Accel Velocity Scaling"
        MatchIsPointer  "on"
        MatchDevicePath "/dev/input/event*"
        Option          "VelocityScale" "1000000"
        Driver          "evdev"
EndSection


poma


Ref.
- VelocityScale
  http://www.x.org/wiki/Development/Documentation/PointerAcceleration/#index4h4
- Mouse acceleration
  https://wiki.archlinux.org/index.php/Mouse_acceleration


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to