LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Assign a command to 'Alt Gr' itself and 'ˇ' char in UT/Q3A (https://www.linuxquestions.org/questions/linux-games-33/assign-a-command-to-alt-gr-itself-and-and-711%3B-char-in-ut-q3a-299288/)

kilgor 03-08-2005 03:50 PM

Assign a command to 'Alt Gr' itself and 'ˇ' char in UT/Q3A
 
Hi,

I'm running an updated Fedora Core 3 and KDE as the the desktop environment. Got a sexy black KeyTronic KT1000 keyboard with Estonian layout (ee) and livna.org's nvidia driver and kernel-module rpm's.

A bit of xorg.conf:
Code:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "ee"
EndSection

All keys work fine, but I can't assign commands to some keys/chars in some games. I mean games like Quake 3 Arena and Unreal Tournament ('99). 'Alt Gr' is my secondary fire in UT and 'use item' in Q3A, at least it was in Windows.

The Estonian keyboard layout works in the games. I cannot type a few characters like 'õ ü ö ä', but that's a limitation of the charset the game is using. I can type into the console chars like '@ £ $ { [ ] }' etc, which I achieve with an 'Alt Gr + some_key' combination. But I can't assign 'Alt Gr' itself a command. In Windows the games recognized 'Alt Gr' as 'Ctrl' IIRC. As I only used the 'Spacebar' and 'Alt Gr' keys from the bottom row, it was OK.

Question 1:
How do i assign 'Alt Gr' itself a command in FPS games like UT and Q3A?


Also the games do not recognise the 'ˇ' sign. (A small lifted V). I'm talking about the the first key on the second row of the keyboard, just below ESC. (Estonian layout!) It's probably because you have to type it twice or follow it with a whitespace, so it would draw the char. SHIFT + 'ˇ' is the tilde ('~'), which brings up the console in Q3 and UT right now. Though it be great, if I could assign the 'ˇ' char to be bring up the console.

It didn't work in Q3A with a line like 'bind ˇ "toggleconsole"'. It's probably impossible to set in UT, as it's set in ut.ini as 'ConsoleKey=126' - the DEC value for tilde in ASCII. And I couldn't find 'ˇ' even in the extended ASCII table.

Question 2:
2. Any chance making 'ˇ' to bring up the console in Q3A and/or UT?

Thanks for any input.

PS: The games are Linux versions, I'm NOT running them with Wine or WineX/Cedega.


All times are GMT -5. The time now is 10:30 AM.