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
Cannot press a key on Linux Wayland #6
Comments
I'm really not sure about this one. This worked fine for me. |
Ok I've tried the permanent solution and the line with |
The minimal example only works within XWayland applications for me. I think it's because I'm using swaywm, and it sets That being said, even when forcing tfc to build the Wayland version it still doesn't work, I get this output & error:
|
Ah. This is starting to make a bit more sense now. It seems that the code that checks for X11 doesn't work in all cases. @notewio From the error message, it looks like you're still running the X11 code path. To force it one way or the other, update |
Deleting the platform detection in
Not sure if the fixes I did for these were actually correct or not but the minimal example works now. I put my fixes in a fork here https://github.com/notewio/The-Fat-Controller |
@notewio I had a look at your fork and tested it myself. Would you like to open a PR? There are some minor things I'd want you to change (primarily addressing the Clippy warnings). I have noticed that there are Clippy warnings in code that you didn't touch but don't worry about that. |
Addresses platform detection and general build issues of the Wayland implementation. Fixes #6.
Thanks to @notewio's contribution, this has been fixed in version 0.6.2. |
I'm trying to simply press a key with a minimal example :
It runs without any error but the A key isn't pressed in practice when I open a text editor for example. I did the
chmod +0666 /dev/uinput
command but it still seems to do nothing. Any idea of what could be wrong ?The text was updated successfully, but these errors were encountered: