WayfireWM / wayfire

A modular and extensible wayland compositor
https://wayfire.org/
MIT License
2.39k stars 179 forks source link

Pointing Stick (TrackPoint) Input device configuration support #1349

Open ghost opened 2 years ago

ghost commented 2 years ago

I was able to add this to my Sway config to set the acceleration profile of my TrackPoint:

input 2:10:TPPS/2_IBM_TrackPoint {
  accel_profile flat 
}

When I set input.mouse_accel_profile = flat in Wayfire, the profile doesn't apply to the TrackPoint. Both Sway and Wayfire use Libinput, in theory there should be a way to configure this, but I can't seem to find out how. Any help would be appreciated.

soreau commented 2 years ago

You want to set touchpad_accel_profile = flat in the [input] section of ~/.config/wayfire.ini. This is documented in the wiki.

ghost commented 2 years ago

I tried that, but it only manages to change the acceleration profile for the touchpad. I want to change the acceleration profile of the TrackPoint pointing stick device, as the acceleration is still too high.

soreau commented 2 years ago

I see. Have you tried changing the AttrTrackpointMultiplier as shown in the libinput docs?

ghost commented 2 years ago

I just tried that, and it made the acceleration much easier to deal with, but I am unable to change the acceleration profile to flat, or adjust the cursor speed. The Arch Wiki page for Libinput Configuration says that on Wayland "The configurable options depend on the progress of your desktop environment's support for them" If there was added support for Pointing Stick input devices, or the ability to set an acceleration profile for all devices, that could be very useful.

lilydjwg commented 9 months ago

I need trackpoint configuration too. Currently trackpoint is configured by the mouse_* options, but I do often use a mouse too, so I either get a slowly moving mouse, or a fast moving trackpoint.

ammen99 commented 9 months ago

At this point I think it would make sense to work on a device-specific option sections, where each device can have all such options separately. The current global settings would be still applied unless there is a device-specific override, etc.