Jump to content

keyboard problems on linux


SunLight

Recommended Posts

  • Clan Friend

hi,

 

I use a script to toggle my fov when I hold shift, now the problem is, if I try to switch weapon (bank 2 or 3) while shift is down , on windows it works, on linux it doesn't becuse shift+2 is seen as the character with hex code 0x22, and not as shift and 2.

 

so I did:

bind 2 "weaponbank 2"

bind 0x22 "weaponbank 2"

 

in my cfg, and all is ok, it works, but for shift + 3 there is no hexadecimal code available... now I was wondering if I am being dumb, and it isn't an et problem, but shift+3 is seen as some key combination outside the game, or it's the game itself, and there's just no hope that I can make it work on linux?

Link to comment
Share on other sites

I use a fov/sens toggle in linux bound to right mouse button.

 

I have a weaponbank 2/weaponbank 3 toggle bound to shift. It is not something I have to hold down though, I just tap it once for pistol and once again for smg.

 

Maybe try a different key than shift? Caps lock perhaps.

 

Or maybe rewrite the toggle so you don't have to hold down shift?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.