Skip to content

Conversation

@gonX
Copy link
Member

@gonX gonX commented May 19, 2022

Partial fix for #1367 - code needs a bit of cleanup (magic numbers into vars) and we likely need some UX configurables.

The idea is absolute wheels should just work:tm: without having to set anything, but UX additions are welcome of course. You can PR to my branch of course.

As the code is right now, it's not doing what I want.
I think libinput is handling the events differently because the OTD device is considered a pen and not a pad. We might have to split events into 2 devices here, one for the pen itself and one for the pad if fixing libinput tags (via quirks?) doesn't fix it

Leaving as draft as I'm not entirely satisfied with it yet, but people can take a look and tell me if there's anything glaringly wrong. I have no plans of personally including relative wheel support, though once again you can PR to my branch.

This also includes an example configuration for the PTH-851 as well as a
nonworking implementation for Linux.
"MouseButtons": null,
"Touch": null
"Touch": null,
"MaxWheelPosition": 71
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would prefer another specification type for this instead, so that this could be expanded on.

@InfinityGhost InfinityGhost added enhancement New feature or request priority:medium Medium priority issue/pull request core OpenTabletDriver core library desktop OpenTabletDriver.Desktop library, UX and Daemon use this as the core implementation. labels Dec 25, 2022
@InfinityGhost InfinityGhost added this to the Backlog milestone Dec 25, 2022
@gonX
Copy link
Member Author

gonX commented Sep 20, 2025

Superseded by #3497 which should get forward ported once the wheel API has matured..

@gonX gonX closed this Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core OpenTabletDriver core library desktop OpenTabletDriver.Desktop library, UX and Daemon use this as the core implementation. enhancement New feature or request priority:medium Medium priority issue/pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants