Skip to content

Conversation

@jamesbt365
Copy link
Member

@jamesbt365 jamesbt365 commented Mar 12, 2024

Supersedes #3243.
Fixes #2438.

TODO:

  • Add attribute to force specific interface on Linux & unify attributes to "Interface".
  • Restore FeatureInitDelayMs attribute.
  • Add support for specific identifiers via DigitizerIdentifiers.
  • Document changes in the codebase.
  • Fix tests.

I have something I'm not the most sure on right now, should a method be implemented somewhere to get the combined attributes? Right now it has absolutely no demand and its not complex logic to begin with, and use for combined attributes only are required in one spot, so its not like any code duplication will happen if we don't implement one.

At this time I'm not going to add support for FeatureInitDelayMs or libinputoverride in specific device identifiers, this is not needed and just increases complexity, but implementing the above would amend that. But considering the usage of delay (only intuos3 and on ALL tablets regardless of identifier) there is absolutely no need to implement support into the identifiers too.

Reminder to submit a pull request for web once this is merged.

@jamesbt365 jamesbt365 added desktop OpenTabletDriver.Desktop library, UX and Daemon use this as the core implementation. enhancement New feature or request labels Mar 12, 2024
@jamesbt365 jamesbt365 marked this pull request as ready for review March 14, 2024 17:47
@gonX
Copy link
Member

gonX commented Mar 16, 2024

Probably a bit late that I thought of this, but wouldn't the attribute better be defined as a new property in the digitizer identifier?

@jamesbt365
Copy link
Member Author

Probably a bit late that I thought of this, but wouldn't the attribute better be defined as a new property in the digitizer identifier?

This probably isn't the best case considering improving the detection scheme further would add extra attributes, putting extra filters in place. See #3011 for what else could be added in the future.

@jamesbt365 jamesbt365 added the configuration Adds or modifies a tablet configuration label Mar 22, 2024
@jamesbt365
Copy link
Member Author

#3276 requires Interface 0, there are 3 interfaces all with the same input and output lengths.

@jamesbt365
Copy link
Member Author

Will rebase this PR and backport it when we close in on the next release and merge some configurations, its not fair on others to rebase 70+ configuration pull requests because i changed the configuration format.

@jamesbt365
Copy link
Member Author

I'm not actually sure if using the existing code is the best idea, looking at some of the comments internally i'm not sure the information is available for every identifier (whereas it is always in the device path) I know @X9VoiD implemented this stuff so I'd like his opinion on it.

@InfinityGhost InfinityGhost marked this pull request as draft July 31, 2024 03:15
@jamesbt365
Copy link
Member Author

Will revert the latest commit and put a note in to use existing stuff when its reliable with WinUSB and anything else we add support for later. Then I'll rebase and fix conflicts.

@jamesbt365 jamesbt365 added the needs-backport PR or its features needs to be backported to stable branch label Aug 25, 2024
@jamesbt365 jamesbt365 added this to the v0.6.5 milestone Aug 25, 2024
@jamesbt365
Copy link
Member Author

The remaining elements from #3011 are out of scope in this PR and will be handled later so that should be everything complete now (except a rebase) if I'm correct @X9VoiD?

@jamesbt365 jamesbt365 marked this pull request as ready for review August 25, 2024 02:30
@jamesbt365 jamesbt365 marked this pull request as draft August 25, 2024 02:30
@X9VoiD
Copy link
Member

X9VoiD commented Aug 25, 2024

We still need to not require the new Attribute field on all configs.

@jamesbt365 jamesbt365 marked this pull request as ready for review September 19, 2024 19:19
@jamesbt365 jamesbt365 merged commit 3d887e6 into OpenTabletDriver:master Sep 20, 2024
@jamesbt365 jamesbt365 removed the needs-backport PR or its features needs to be backported to stable branch label Sep 21, 2024
gonX added a commit to gonX/opentabletdriver.github.io that referenced this pull request Nov 8, 2024
…dard

This was changed with OpenTabletDriver/OpenTabletDriver#3245 (3d887e6cf638031d5ab762f95a24e1e8071ddd2b)
@gonX gonX added the backport-added A backport is already merged label Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-added A backport is already merged configuration Adds or modifies a tablet configuration desktop OpenTabletDriver.Desktop library, UX and Daemon use this as the core implementation. enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

support for feature initialization delay lost after DI

3 participants