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

Wayland support #211

Open
alexandru-crossover opened this issue Jan 22, 2018 · 9 comments
Open

Wayland support #211

alexandru-crossover opened this issue Jan 22, 2018 · 9 comments
Assignees
Milestone

Comments

@alexandru-crossover
Copy link

Hi @kwhat,

Now that Wayland is the default display server in Ubuntu, are there any plans to add support for Wayland in JNativeHook?

@kwhat
Copy link
Owner

kwhat commented Jan 22, 2018

Yes, I need to make xkbcommon a runtime dependency but it should be fairly easy. Which version of ubuntu contains wayland by default?

@kwhat kwhat self-assigned this Jan 22, 2018
@kwhat kwhat added this to the 2.1.1 milestone Jan 22, 2018
@alexandru-crossover
Copy link
Author

Wayland is the default display server in Ubuntu 17.10. As far as I could tell, it is not clear currently if it will still be the default option in Ubuntu 18.04 LTS.

@leandrocm86
Copy link

+1 for that. I'd like to consume (stop propagation) of events on Linux, and that seems to be impossible on X11, right? Maybe we could have that with Wayland.

@kwhat kwhat modified the milestones: 2.1.1, 3.0.0 Mar 23, 2018
@J0B10 J0B10 mentioned this issue Apr 12, 2021
@kwhat
Copy link
Owner

kwhat commented Apr 15, 2021

@J0B10

This comment has been minimized.

@darrencocco
Copy link

+1 also standard on Fedora 35/36 IIRC correctly. (I'm using Wayland myself on F36 if you need a tester)

@lov3b
Copy link

lov3b commented Mar 31, 2023

Hi!
How's the progress on the wayland implementation?

@kwhat
Copy link
Owner

kwhat commented Sep 15, 2023

It is in progress here. It is going to take some time and I am not sure this will work but it shows some promise right now. I currently have a bunch of changes locally to cleanup the PoC code that is currently there but it doesn't work yet. Updates are tracked against this issue.

@kwhat
Copy link
Owner

kwhat commented Jan 10, 2024

Just and update. Evdev support is mostly working upstream. Consuming keys appears to work correctly, mouse motion and wheel events maybe more of an issue. The last major hurdle will be the system_properties because there doesn't appear to be a generic way of doing a lot of this outside of X11. Getting things like the mouse sensitivity, double click speed and monitor count and resolution are all going to be a pain if not impossible under Wayland.

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

No branches or pull requests

6 participants