Sway: input: add option for device classes

Created on 8 Jun 2019  路  5Comments  路  Source: swaywm/sway

I can do a sane configuration like this:

input 1267:12341:ELAN1301:00_04F3:3035_Touchpad tap enabled

But what if I want to use this configuration in different machines? I would expect to be able to do:

input touchpad tap enabled

In fact I don't see why this isn't the default (along with naturall_scroll), but oh well.

Most helpful comment

Perhaps you should read the first part of Red's comment again. This feature already exists in Sway 1.1 and above.

All 5 comments

For Sway 1.1 (or building from git master), you can use input type:touchpad tap enabled

In fact I don't see why this isn't the default (along with naturall_scroll), but oh well.

Defaults are set by libinput. Sway does not touch these unless requested by the user.

Defaults are set by libinput. Sway does not touch these unless requested by the user.

I know the wrong defaults are set by libinput.

Read my request before closing:

input: add option for device classes

Do I have to repeat what my request is? I'm asking to add an option to to configure a class of input devices, instead of a single device.

So that this works:

input touchpad tap enabled

For all devices of class "touchpad".

Your comment about the defaults is a red herring and has nothing to do with the issue I opened.

Perhaps you should read the first part of Red's comment again. This feature already exists in Sway 1.1 and above.

Whoops! Since I didn't see the blockquote I skipped that part.

Please be nice @felipec. Even if the issue was closed by mistake there's no need to be rude.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mcmfb picture mcmfb  路  3Comments

soymjolk picture soymjolk  路  3Comments

RyanDwyer picture RyanDwyer  路  3Comments

emersion picture emersion  路  4Comments

Olie440 picture Olie440  路  4Comments