I'm having trouble properly binding my controls. I wanted to achieve the following :
1 -> sidearm; 2 -> secondary; 3 -> primary; 4 -> grenade (so that it's just like commercial shooters).
This doesn't work as you would expect because I'm using Linux and (I guess) on Linux keyboard configuration is handled at a lower level than on windows, and even real-time video games have access to the characters you press and not the key positions like on windows.
On my laptop's azerty (french) keyboard, digits are at the same positions than on a qwerty but they're the secondary characters (accessed with the shift key), the primary are (from 1 to 0) : & é " ' ( - è _ ç Ã
So I tried this :
bind & "ut_weaptoggle sidearm"
bind é "ut_weaptoggle secondary"
bind " "ut_weaptoggle primary"
bind ' "ut_weaptoggle grenade"
but only the 1st and 4th ones work. The other two seem to get me something like "bind SPACE "ut_weaptoggle primary secondary"", which is not at all what I want. (By the way, you can't use the radio menu on linux with an azerty keyboard; not sure if anyone uses this anyway though.)
So my questions are : is it actually possible to bind the é key ? the " key ? If not, any suggestion ? (if someone knows how to change keyboard mappings on Linux for just one program that'd be useful)
Also, please do not suggest me some other key mapping that does not use the problematic keys. I don't ask for advice on key mappings, I ask for advice on scripting.
EDIT : removed the code tag, on my browser it didn't show up properly.
This post has been edited by zerbugug: 24 February 2013 - 02:21 PM