Binding Semicolon

Items of particular interest to the entire community

Binding Semicolon

Postby Zaphod » 20 Feb 2017 16:56

Is it somehow possible to bind semicolon (or "ö" in the german keyboard layout) to any player actions?
Since I'm left handed, I always bind semicolon (or ö) to strafing right but this is not possible anymore :(
Zaphod
 
Posts: 1
Joined: 20 Feb 2017 16:46

Re: Binding Semicolon

Postby qreeves » 21 Feb 2017 02:24

The problem is SDL_keycode.h doesn't provide specific codes for special keys such as this. From what I understand, they rely on a sequence of codes because UTF-8 encodings are larger than ASCII (meaning they send more than one code with each key press). I believe this is mostly outside of our control, and would have to be fixed upstream in SDL2 in order to produce proper standalone key codes, as that is what we use to access inputs.
User avatar
qreeves
Site Admin
 
Posts: 1542
Joined: 02 Feb 2014 05:04
Location: Australia

Re: Binding Semicolon

Postby bonifarz » 21 Feb 2017 19:41

It may seem a weird and impractical suggestion, but you could try switching to another keyboard layout while playing, such that you get less dead keys in the keycode mapping.
User avatar
bonifarz
 
Posts: 1044
Joined: 03 Feb 2014 10:15

Re: Binding Semicolon

Postby zaquest » 01 Mar 2017 10:09

I use PL;' for movement. So I have
Code: Select all
bind "QUOTE" [right]
bind "SEMICOLON" [backward]

in my `config.cfg`. Works on both stable and master for me. Since when did it stop working for you?
zaquest
 
Posts: 54
Joined: 16 Mar 2015 21:05

Re: Binding Semicolon

Postby Iceflower » 02 Mar 2017 21:26

zaquest wrote:I use PL;' for movement. So I have
Code: Select all
bind "QUOTE" [right]
bind "SEMICOLON" [backward]

in my `config.cfg`. Works on both stable and master for me. Since when did it stop working for you?


Have you tried it with a german keyboard layout? (For me it wont work)
I know my English is cruel. :$
When I talk rubbish correct me.
My public data
User avatar
Iceflower
 
Posts: 206
Joined: 16 May 2014 21:44
Location: Germany

Re: Binding Semicolon

Postby zaquest » 03 Mar 2017 04:29

No, I don't have a german keyboard. Works with russian though.
zaquest
 
Posts: 54
Joined: 16 Mar 2015 21:05


Return to News and Articles