-
Notifications
You must be signed in to change notification settings - Fork 91
Support tablet-v2 #489
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
Draft
chris-morgan
wants to merge
27
commits into
Smithay:master
Choose a base branch
from
chris-morgan:tablet
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Support tablet-v2 #489
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
94a60f8
Support most of tablet-v2
chris-morgan eb83d74
[WIP] Expand the tablet example for pseudo-drawing
chris-morgan 5d11d0b
One approach to collecting tablet metadata
chris-morgan 8ae623e
Tablet info events: new approach, always collect
chris-morgan 0c8f542
Naming: “description”
chris-morgan 1ced013
Restructure code somewhat
chris-morgan 61e0e44
Try a more radical module and naming structure
chris-morgan d6741e1
Fiddle with tablet_tool::InitEvent naming
chris-morgan a649d55
Accumulate description for tablet tool handlers
chris-morgan 29b63c4
Use bitflags for tool capabilities
chris-morgan efdd0b4
Quite a bit of poorly-separated work
chris-morgan 0004673
Remove dead code
chris-morgan 666c52c
Revise some tablet naming
chris-morgan b7cb645
Update some docs, remove obsolete bits
chris-morgan 568a552
Refine how Tools is exposed
chris-morgan 98f3aad
Make tablet seat handler methods optional
chris-morgan 2b8df7d
(Advice sought) Remove seat from tablet seat handler methods
chris-morgan 387d718
Document that no other axis methods are warranted
chris-morgan 5cd8a95
Remove more dead code
chris-morgan 53eabb9
More shuffling tool stuff around, for the better
chris-morgan b19c603
Add cursors to the tablet tool example
chris-morgan ae0667f
Make TabletManager largely implicit, via SeatState
chris-morgan d13e2ec
Refactor manager globals, expose cursor shape manager
chris-morgan 9e4c056
Tidy up example a bit, improve logging
chris-morgan c9fe2f6
Support cursor shapes on tablet tools, a bit
chris-morgan 7d7f20d
Refactor SeatState::new for subjective prettiness
chris-morgan 5dd2be3
Make {tablet, tablet_tool}::Info non-exhaustive
chris-morgan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine in my opinion. As you say, it is possible for the user to map tablet set to seat.