Skip to content
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

for iced_layershell binding to be published and be usable #1

Open
8 of 10 tasks
Decodetalkers opened this issue Feb 20, 2024 · 7 comments
Open
8 of 10 tasks

for iced_layershell binding to be published and be usable #1

Decodetalkers opened this issue Feb 20, 2024 · 7 comments
Milestone

Comments

@Decodetalkers
Copy link
Collaborator

Decodetalkers commented Feb 20, 2024

this make it can be used with iced

still need to be done

  • hover event
  • keyboard event
  • fractal scale (need help)
  • ime (Wait for new iced being released)
  • virtual keyboard
  • support keyboard repeat
  • support touch event(need to be tested)

other things

  • example, like set anchor, set size, move it in eight corners. such kind example

finally

  • use this crate make a layershell launcher with iced

etc

  • bind ext-session-shell with the same way
@Decodetalkers Decodetalkers changed the title split eventloop and window for iced_layershell binding to be published and be usable Mar 10, 2024
@Decodetalkers Decodetalkers pinned this issue Mar 10, 2024
@Decodetalkers
Copy link
Collaborator Author

if want to finish keyboard, please take https://github.com/rust-windowing/winit/blob/master/src/platform_impl/linux/common/xkb/keymap.rs as reference

@Decodetalkers
Copy link
Collaborator Author

https://github.com/waycrate/exwlshelleventloop/blob/master/layershellev/src/lib.rs#L875

here need to add a event to check scroll event, and passed it to iced

@Decodetalkers
Copy link
Collaborator Author

Cannot register subscription listen to event

@dominik-muc
Copy link

Hey, I'm looking forward into using layer-shell + iced too. Maybe I can help you in some way? Unfortunately I have little (no) experience in how this protocol works and how it relates to iced, maybe you can shine some light on it for me? I would appreciate if you could tell me how it works and what can I do. Cheers

@Decodetalkers
Copy link
Collaborator Author

Hey, I'm looking forward into using layer-shell + iced too. Maybe I can help you in some way? Unfortunately I have little (no) experience in how this protocol works and how it relates to iced, maybe you can shine some light on it for me? I would appreciate if you could tell me how it works and what can I do. Cheers

Thank you for your reply!! I think you can help read the xkb implement in winit. Now the keyboard event handled by iced-layershell is not full. You can see this pr #9 and related code is in https://github.com/rust-windowing/winit/tree/master/src/platform_impl/linux/common

@dominik-muc
Copy link

Hey I think that's too complicated for me (for now at least). Maybe I'll come back to it later. Good luck on your work!

@Decodetalkers
Copy link
Collaborator Author

Mouse should handle right and left.. now the logic thought that them are all left button

@Decodetalkers Decodetalkers added this to the 0.4.0 milestone Aug 4, 2024
@Decodetalkers Decodetalkers modified the milestones: 0.4.0, 0.5.0, 0.6.0 Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants