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

Fix KEY_ALT not working on Linux #9

Open
McKay42 opened this issue Sep 19, 2016 · 2 comments
Open

Fix KEY_ALT not working on Linux #9

McKay42 opened this issue Sep 19, 2016 · 2 comments

Comments

@McKay42
Copy link
Owner

McKay42 commented Sep 19, 2016

The current workaround is to use the capslock key instead.

@Cherenkov11
Copy link

Cherenkov11 commented Oct 5, 2021

XK_Meta_L is what I use for ALT and works fine. (It's kind of weird, because supposedly the Meta key doesn't exist in modern keyboards, but XK_Alt_L doesn't work for me) what I think, is that the model that you can select for xkb change those "extras" keys. In my case xbk select pc105 by default for my keyboard.

@McKay42
Copy link
Owner Author

McKay42 commented Feb 26, 2022

XK_Meta_L is what I use for ALT and works fine. (It's kind of weird, because supposedly the Meta key doesn't exist in modern keyboards, but XK_Alt_L doesn't work for me) what I think, is that the model that you can select for xkb change those "extras" keys. In my case xbk select pc105 by default for my keyboard.

(Just explaining in case anyone else stumbles upon this:)

The reason XK_Alt_L does not work by default is that most (Linux) window managers use it as the "drag window" hotkey, meaning that the game does not even receive any key event for it. Meaning, users would have to change operating system hotkeys in order to get it working.

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