-
Notifications
You must be signed in to change notification settings - Fork 175
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
Wayland/virtual keyboard #720
Conversation
Codecov ReportBase: 25.83% // Head: 9.78% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #720 +/- ##
==========================================
- Coverage 25.83% 9.78% -16.05%
==========================================
Files 118 120 +2
Lines 18698 18952 +254
==========================================
- Hits 4831 1855 -2976
- Misses 13867 17097 +3230
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Seems that github actions is not allowing clippy to run properly here? |
Smithay build broke after new wayland-rs 0.30 beta got released, proper fix is #752 |
I guess I will wait for that then 🥲 |
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.
Looks mostly fine from a code point of view, but I am not sure on the behavior from the protocol side.
Seems like keymap handling is real hassle and I don't know, if this is handled in the best way. I would like input from @i509VCB or @PolyMeilex before merging this.
src/input/keyboard/mod.rs
Outdated
kbd.keymap(KeymapFormat::XkbV1, fd.as_raw_fd(), size as u32) | ||
}); | ||
if let Err(e) = res { | ||
debug!(logger, |
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.
I think this should rather be a warning
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.
Should I change this, or merge and create a new shorter pr? 😅
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.
Figured I might as well 😸
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.
My concerns about keymap handling were addressed so it's good to go as far as I'm concerned.
Sadly you broke CI now. 😅 |
Just a minor hiccup 🙈 |
This adds support for virtual keyboard,
it needs a new version of wayland-protocols-misc for it to be able to be merged. The pr probably needs some reviewing first anyway. ;)edit: Everything is tested and implemented, should be ready :')