Skip to content

[Feature] Toggle touchscreen at different stylus levels#214

Open
zeroxoneafour wants to merge 4 commits into
linux-surface:masterfrom
zeroxoneafour:disable-on-stylus
Open

[Feature] Toggle touchscreen at different stylus levels#214
zeroxoneafour wants to merge 4 commits into
linux-surface:masterfrom
zeroxoneafour:disable-on-stylus

Conversation

@zeroxoneafour
Copy link
Copy Markdown

Palm rejection was bugging out on my surface, so I whipped up this patch to make it better.

You can now configure the touch screen to turn off -

  • When it detects the stylus at all (this is the old default)
  • Only when it detects that the stylus is being hovered or is being used
  • Only when the stylus is being used

The new config setting, Touchscreen.DisableOnStylusLevel, allows you to pick between the three options. By default, for compatibility, connected is picked. This is also the case if the option is not there or is invalid. I personally prefer active, and contact guarantees stability when writing.

@zeroxoneafour
Copy link
Copy Markdown
Author

I tested this on my Surface Pro 9 running Fedora 44 and it works. Idk why the CI runner for the Arch build failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant