-
-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to Avalonia #2772
base: master
Are you sure you want to change the base?
Migrate to Avalonia #2772
Conversation
First (OP propositions sound amazing, no complaints) |
Is now perfectly usable! Haven't implemented filters or tools yet, but all basic features for a usable tablet driver is already in. (discard functionality still has some bugs) |
Have not yet checked but is the device string reader present? |
Only tablet configuration is present right now. |
Until HidSharpCore releases a new nuget, will need to clone HidSharpCore first to the same directory as this repo then run |
Assuming this will eventually match the (checked with the GitHub filter Fixes #3018 Also likely fixes: Partially fixes #1821 as only US keycodes will be shown in the GUI, even with another keyboard input method used. Worth revisiting with the new UI: Of course, there a bunch of other issues that will need to be opened if merging this |
- Revamp tablet handling (device list changes are now handled individually rather than rebuilding from scratch) - Migrate from Eto to Avalonia
Changes
Merge all three UX projects and rename to OpenTabletDriver.UI
UX is a misnomer. It should have been UI from the very beginning.
Migrate from Eto to Avalonia
Sneak peek
The transparency is configurable.
Dark mode by default
Light mode not in scope of this PR
Tablets Overview
2023-06-06.01-36-42.mp4
This overview paves the way for adding custom graphics for different tablets (not that we should implement it now) and even differentiate from display tablets. It will also be used for notifying users when a tablet is "known to be there but has problems" where pre-PR it would drop it and say "No tablet detected" but here they will remain but in a disabled state. See this toggle here.
Due to changes coming from #2601 it is now possible to get tablets with problems to remain "detected" but in a disabled state. Also allows for disabling input processing for certain tablets if the user wanted to.
Auto-start on boot
Yep. It's finally happening. This option is only for windows for now and probably in the future as well.
Daemon will no longer launch with UI
The plan is to use another means to launch the daemon. For example, we can use Task Scheduler on Windows to launch OTD.Daemon. This is to avoid situations where accidental closing or a crash of UI also closes Daemon.
Remaining core features to implement
No merging without these.
There are no plans of bringing back Configuration Editor, we're better off just improving the docs around creation of configs and parsers.
Stretch goals
Things that can be done on a future PR