-
Notifications
You must be signed in to change notification settings - Fork 144
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
MOD keys not working properly in-game #1741
Comments
Have you used the |
@ahesford No, I never used it. this is my rc.xml file:
|
Try binding a key (I like
When you launch your game, press that hotkey and the game window will receive all key events without labwc trying to grab them. (Except the same hotkey, which will disable that mode if pressed again.) |
@ahesford it didn't work, unfortunately. |
I can't easily replicate, so hard to fault find here. Do you think the keyboard-focus is moving away from the window you're inputting into - or is it just the modifiers that are not received. IIRC XWayland clients have 'mysterious ways I feel I'm grasping at straws, but detective work could include:
<windowRules>
<windowRule identifier="foo" ignoreFocusRequest="yes"/>
</windowRules> @kode54 @Joshua-Ashton - if you have time + ability to run that game, any change of leaning in? |
@johanmalm 5- Setting the windowRule didn't work. |
<keyboard>
<default />
<keybind key="A-Up" />
</keyboard>
<mouse>
<default />
<context name="Frame">
<mousebind button="A-Left" action="Press" />
<mousebind button="A-Left" action="Drag" />
<mousebind button="A-Right" action="Press" />
<mousebind button="A-Right" action="Drag" />
</context>
</mouse> Not sure about |
@Consolatis This worked:
Yes, it works. Is there an easy way to disable all the keybinds and manually enable only the ones I want? |
nice :)
Depends on your definition of easy. Another theoretical option would be to use
Hm, but wayland native ( |
It doesn't work.
But it works on Sway, so it shouldn't be a wlroots problem, right? |
Yeah, that is a good point. Really not sure what this could be about, I can paste from |
Some additional context from me for this part of the issue that could apply:
to my config to get it to work ingame. I personally use W+Left/Right for moving/resizing windows with the mouse, which is why disabling that doesn't bother me. Also I never thought about it, but |
After I removed the default keybinds, everything work fine, except the ctrl+c ctrl+v. |
Ah woops, I completely missed that part of the thread. 😳 |
I was playing World of Warcraft today and I noticed some issues when using the ALT key.
In World of Warcraft, if I hold ALT and press the Arrow Up key, I can navigate through the previous messages I typed in the chat.
For some reason it's not working on Labwc. Also if I hold ALT, I can't move the camera with my mouse.
I tried on GNOME and KDE and it works normally.
Is there something I could try to fix this?
EDIT:
I just noticed another problem right now.
I can't paste a text with CTRL+V in the game's chat, so the problem is not with the ALT key only.
The text was updated successfully, but these errors were encountered: