Skip to content

Conversation

@Mrcubix
Copy link
Contributor

@Mrcubix Mrcubix commented Oct 19, 2024

image

I lied.

I got triggered seeing multiple basically dead PRs targeting master, which is not going to be ready anytime soon, so i took the opportunity to backport #2669.

This should then allow Parsing of the Wheel on PTK 440 to 840 as well as the Huion HS610.
Let me know if you want me to also include the specs for known supported tablets inside configs.
(These maxes can also be acquired via calibration, which i do in my 0.5.x Wheel Addon plugin)

One more question to be asked : PTK x40 tablets have a wheel button, and a concern was made here

Before my PR, the wheel button was already parser in the Intuos4Report, would this be the time to move it out to the IAbsoluteWheelReport or a new IWheelSupport (that would be used for relative & absolute)

image

@Mrcubix
Copy link
Contributor Author

Mrcubix commented Oct 19, 2024

Turns out i'm gonna need to provide at least empty specs to pass Unit Tests anyway

@Mrcubix
Copy link
Contributor Author

Mrcubix commented Oct 19, 2024

Will need some F in the chat for either I or James having to deal with a conflict if the attribute overhaul get merged with 0.6.x

@Mrcubix Mrcubix changed the title Add Minimal Wheel Support in 0.6.x [0.6.x] Add Minimal Wheel Support Oct 20, 2024
@Mrcubix
Copy link
Contributor Author

Mrcubix commented Oct 23, 2024

Damn you james, owned by removed '0' decimals of specs

@Mrcubix Mrcubix marked this pull request as draft October 23, 2024 19:49
@Mrcubix Mrcubix marked this pull request as ready for review October 23, 2024 20:02
@Mrcubix
Copy link
Contributor Author

Mrcubix commented Oct 23, 2024

Originally put the Intuos 5 wheel parsing in the Intuos4 file instead (cause i didn't look at the file name at some point).

But anyway, added support for the Intuos 5 since i had one on hand and other tried it a while back (using my 0.5.x plugin).
Also fixed an issue where the Wheel Data wouldn't show up since it's reported on the same ReportID as Aux.

@Mrcubix
Copy link
Contributor Author

Mrcubix commented Nov 13, 2024

This could use a review whenever possible.

@gonX gonX requested a review from X9VoiD November 17, 2024 23:22
@gonX
Copy link
Member

gonX commented Nov 17, 2024

This will need a rebase when #3522 is merged (and will likely happen before this PR is merged, for logistics reasons). You no longer need to define null variables in configurations after that PR.

@Mrcubix
Copy link
Contributor Author

Mrcubix commented Nov 18, 2024

I did see that null handling was set to ignore (which i doubt does much for deserializing, mostly serializing).
Can prob just use the existing system to load the config, then save back with the new settings once that is merged.

@Mrcubix
Copy link
Contributor Author

Mrcubix commented Nov 18, 2024

Just noticed but is #3522 got merged, but it doesn't seem like tests failed, shouldn't need to apply config changes, do i?

@jamesbt365
Copy link
Member

You can rebase out the config changes when the PR is backported. CC: @X9VoiD

@Mrcubix
Copy link
Contributor Author

Mrcubix commented Nov 18, 2024

Right, they need to be backported first, that PR targeted master

@gonX gonX added the enhancement New feature or request label Nov 18, 2024
Copy link
Member

@gonX gonX left a comment

Choose a reason for hiding this comment

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

generally LGTM, will be looking at merging this for 0.6.7 (the release following next release)

Copy link
Member

@gonX gonX left a comment

Choose a reason for hiding this comment

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

LGTM now aside from outstanding conversations, planning on merging shortly after the release of 0.6.6, but I still have some questions.

gonX
gonX previously approved these changes Sep 20, 2025
Copy link
Member

@gonX gonX left a comment

Choose a reason for hiding this comment

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

Code LGTM, need further testing after 0.6.6 release.

@gonX gonX assigned Kuuuube and unassigned gonX Sep 20, 2025
Kuuuube
Kuuuube previously approved these changes Oct 2, 2025
Copy link
Member

@Kuuuube Kuuuube left a comment

Choose a reason for hiding this comment

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

This looks good to me and it works great in my testing. Just needs conflicts resolved.

I assume this wouldn't support tablets with two wheels yet? Or they would have to act as one wheel? The wacom PTK-670 and PTK-870 for example.

I'm okay merging as is but something that would be needed in the future.

@Mrcubix
Copy link
Contributor Author

Mrcubix commented Oct 2, 2025

It used to be an array, was told to not make it an array.

@gonX
Copy link
Member

gonX commented Oct 11, 2025

@gonX & @X9VoiD (Whenever you have time), what is your thoughts on the last couple things said till #3497 (comment) & overall so far

I think I forgot to respond to this, but I prefer having wheel buttons as a separate property for parsers to set.

Including it in the normal aux buttons array is confusing for a varying amount of reasons, but primarily the current assumption a lot of places in the code and GUI just expects buttons to be a part of the normal pad buttons, and a lot of parsers (except for the earliest ones) have the wheel button marked as a commented bit of code.

Having this assumption simplifies implementation of button passthrough as seen in #3074 and #4004

@gonX
Copy link
Member

gonX commented Oct 11, 2025

It used to be an array, was told to not make it an array.

I looked through the issue, and couldn't find this conversation. I think it would be best to have support for this now that the new Wacom models have 2 wheels, as not accounting for this now may require some configuration migration code in the future.

@Mrcubix Mrcubix dismissed stale reviews from Kuuuube and gonX via 04c816a October 12, 2025 17:30
Copy link
Member

@Kuuuube Kuuuube left a comment

Choose a reason for hiding this comment

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

Looks good.

@gonX gonX merged commit ef2312a into OpenTabletDriver:0.6.x Oct 12, 2025
12 checks passed
@gonX gonX added the needs-forward-port PR or its features needs to be ported to development branch label Oct 18, 2025
This was referenced Oct 18, 2025
@gonX gonX linked an issue Dec 6, 2025 that may be closed by this pull request
@gonX gonX mentioned this pull request Jan 8, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configuration Adds or modifies a tablet configuration core OpenTabletDriver core library daemon Affects the driver itself desktop OpenTabletDriver.Desktop library, UX and Daemon use this as the core implementation. enhancement New feature or request gui Affects driver GUI needs-forward-port PR or its features needs to be ported to development branch plugins Plugin or Plugin API related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PTH Wheel Support