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 #333

Closed
J0B10 opened this issue Apr 12, 2021 · 3 comments
Closed

Wayland support #333

J0B10 opened this issue Apr 12, 2021 · 3 comments

Comments

@J0B10
Copy link

J0B10 commented Apr 12, 2021

Hey there, first of all thanks for the great work you put into this project!

I'have been using jnativehook to listen for global key inputs and consuming them. On windows it works like a charm!
But I probably don't have to tell you that I can't consume events on linux. I read the documentation and found #244 that already covered this topic.

Back then the conclusion was that consuming events with X11 is not possible but with Wayland it could be.
This brought me some hope that maybe we could get support for this in future versions, as most recent linux distros support wayland.

So I'm highly interested what your current plans are regarding Wayland support and consuming key events under linux.
Will this be a thing?

@J0B10
Copy link
Author

J0B10 commented Apr 12, 2021

Nevermind. Just saw that there already is a issue covering that topic. Sorry for the spam.

Duplicate of #211.

@J0B10 J0B10 closed this as completed Apr 12, 2021
@kwhat
Copy link
Owner

kwhat commented Apr 15, 2021

No problem, thanks for checking and closing. I've posted a link to an example project that uses the API we probably want to use on the other ticket. I haven't looked to see if it supports consuming events, but I suspect it does not because of where it resides in the client / server model but there could still be a way. Someones going to have to dig through the docs and just try some things. I am not running Wayland right now and don't expect I will for a while.

@J0B10
Copy link
Author

J0B10 commented Apr 16, 2021

I'dd be fine with digging through the docs but unfortunately I'm having hard times reading c code on that level and even harder with writing it.

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

No branches or pull requests

2 participants