ioquake / ioq3

The ioquake3 community effort to continue supporting/developing id's Quake III Arena
https://www.ioquake3.org/
GNU General Public License v2.0
2.34k stars 522 forks source link

Improving the consoles for non-standard keyboards #597

Open Dynamo128 opened 1 year ago

Dynamo128 commented 1 year ago

Hello! I have had positive experiences with ioq3, however, there is one thing I sadly have problems with. I am from Italy, and I use a different keyboard layout from the the English one, and as a result, I do not have the ` and ~ keys. Because of this I am unable to close the console because, the "toggleconsole" command, even if I rebind it to something else, will open but not close the console. I saw that in the quake 3 source code only those two keys are utilized for opening\closing the console and it just happens to be keys I do not have. I can fix it by temporarily switching to the US layout, but this is a pain as it severely changes the location of many of the keys and it is kind of hard to get used to it even temporarily after 25 years of muscle memory. I implore you to kindly add an option either for my specific layout, or simply change the way the command itself works so that any key can both open and close it. \ is the key that I have to the left of 1 on my keyboard, so having it be detected and switched over to that (as some other ports do - i.e. Quakespasm or GZDoom) would work wonders. Thanks for your attention.

timangus commented 1 year ago

https://ioquake3.org/help/players-guide/#sdlkeyboard

NeonKnightOA commented 1 year ago

Wasn't there a command to specify the console key or am I missing something? You can execute it by adding a line to baseq3/autoexec.cfg so everytime you enter the game it configures the console to that key.

NeonKnightOA commented 1 year ago

Wasn't there a command to specify the console key or am I missing something? You can execute it by adding a line to baseq3/autoexec.cfg so everytime you enter the game it configures the console to that key.

NuclearMonster commented 10 months ago

@Dynamo128 did the explanation on the help page work for you?