-
Notifications
You must be signed in to change notification settings - Fork 55
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
kbmap not working under wayland #91
Comments
Yes, the key mapping feature sends X events. It only works for X applications and only if spacenavd successfully connects to the X server, so any X authentication issues will prevent it from working too. I'm marking this as a feature request, but I don't plan on implementing wayland keyboard mapping myself. I'm not at all interested in wayland, I consider it a step backwards, but if anyone else wishes to work on this, I'll gladly accept patches/pull requests about it. |
it might be possible to implement this using libei now |
Unless I'm misreading the libei readme file, it sounds like the wayland compositor needs to support libei specifically for this to work. It feels like a kludge, and far from a universal solution for implementing "keystrokes on wayland". Also no external libraries unless absolutely necessary. |
It's the most universal you can get in Wayland |
has anyone picked this up? I'm still holding out hope because blender doesn't seem to like the button numbers as inputs. |
See my example using uinput and libspnav |
That's interesting. uinput seems like a viable way to generate fake keypresses on linux independent of the window system. I'll look into it. |
I am trying to support shift / alt / ctrl modifiers under wayland for Blender using wayland (without xwayland). Unfortunately this is not working for me-
xev
does not acknowledge any key events at all from my spacenavigator device.Am I correct in thinking this is unsupported at present, and that running xwayland is the right solution in the meantime?
The text was updated successfully, but these errors were encountered: