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

Wlroots modifier emulation support #238

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

Vassili-Dev
Copy link

Fixes #204

Change Summary:

WLRoots Emulation

  • Internally track modifier state via VirtualInput.modifiers
    • On KeyboardEvent::Key: If key matches modifiers, either depress or toggle respective mod
    • On KeyboardEvent::Modifiers: Set internal modifiers state to match the event
  • Add current time to discrete scroll event (Fixes scrolling)

@feschber
Copy link
Owner

Would you mind making the scrolling fix a separate PR?

@Vassili-Dev
Copy link
Author

Vassili-Dev commented Nov 27, 2024

Reverted the scroll change, put in separate PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows -> Wayland (Sway) Modifier Keys not registering
2 participants