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

Backspace key does not work on linux #36

Open
hjri opened this issue Apr 17, 2016 · 1 comment
Open

Backspace key does not work on linux #36

hjri opened this issue Apr 17, 2016 · 1 comment

Comments

@hjri
Copy link

hjri commented Apr 17, 2016

From my SPUC post:

I'm using BLT version of this mod with blt4l hook
https://github.com/blt4linux/blt4l

Backspace key doesn't work at all - i am forced to use backtick (detailed info) in main menu, config is not available in-game, obviously.

Is there any way to configure which key is used for menu?

Zenyr asked what keycode for backspace is.

here's output of xev when i press backspace

KeyRelease event, serial 40, synthetic NO, window 0xb800001,
    root 0x1f4, subw 0x0, time 486362840, (-429,-233), root:(885,132),
    state 0x10, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
    XLookupString gives 1 bytes: (08) "
    XFilterEvent returns: False

showkey yields:

keycode  14 release

Nonethenless, trying to set "detailed view" key to backspace clears it.

@TheDevKing
Copy link

I worked around this issue by changing Hud3.lua:649 to Poco:Bind(self,'\\',function()
which switches the key to backslash.

I also tried using a hex editor to input the raw XLookupString bytes of backspace, but to no avail. What also did not work was using the keycode 43 (as an int, not a string), which is the keycode for backslash.

Hope that helps someone and maybe sheds some light on the issue.

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