View previous topic :: View next topic |
Author |
Message |
Bibabuzemann n00b
Joined: 16 Sep 2003 Posts: 7 Location: Germany
|
Posted: Tue Sep 16, 2003 12:52 pm Post subject: [WINE][CS1.5] wierd keyboard behavior [solved] |
|
|
Hi,
Im running Halflife on a seperate X-server on vt8. The commandline for hl.exe is:
hl.exe -console -game cstrike -noipx -nosound
-nosound is required, because hl would freeze in the Loading... screen. I havent found a solution for that yet, but thats another question.
I can play hl and cs at about 60-70 frames in openglmode.
My problem is: My keyboard keys are somehow mismapped. if I press 'x' in the console a 'c' is displayed, 'c' displays 'v', 'v' displays 'b' and so on. This effects only the '<yxcvbnm,.-' line of keys (yes it't a german keyboard). All other keys work perfectly.
How can I correct this?
thanks in advance, _________________ -_- -bib-
Last edited by Bibabuzemann on Wed Sep 17, 2003 3:50 pm; edited 2 times in total |
|
Back to top |
|
|
Decibels Veteran
Joined: 16 Aug 2002 Posts: 1629 Location: U.S.A.
|
Posted: Tue Sep 16, 2003 2:06 pm Post subject: |
|
|
I looked in my wine config file and don't see anything to do with the keyboard. I have seen this problem on a user before, but it was with a knoppix install. Somehow he got the german keyboard back and ended up deleteing his /home/.kde folder to get it back. KDE setup still showed it as US keyboard and country, but it wouldn't work.
Have to assume that your keyboard is fine when you are not running wine? Correct?
Did a little reading on it and seems that it might get the keyboard layout from XFree, guess you could check you /etc/X11/XF86Config file and see if everything looks good there.
Also, what is the report when you type in terminal: locale
Mine is all POSIX except for LC_ALL which is blank.
That is all I can think of right now. _________________ Support bacteria – they’re the only culture some people have.”
– Steven Wright |
|
Back to top |
|
|
Bibabuzemann n00b
Joined: 16 Sep 2003 Posts: 7 Location: Germany
|
Posted: Tue Sep 16, 2003 2:12 pm Post subject: |
|
|
Sorry, I forgot to mention that: the keyboard works without any problems outside of wine (otherwise this would be the wrong board, wouldn't it ). When i'm at home I'll check if I have the same problem in other wine-applications like notepad, but i'd say it's a Half-Life only problem. _________________ -_- -bib- |
|
Back to top |
|
|
Decibels Veteran
Joined: 16 Aug 2002 Posts: 1629 Location: U.S.A.
|
Posted: Tue Sep 16, 2003 2:30 pm Post subject: |
|
|
Quote: | otherwise this would be the wrong board, wouldn't it |
Sorry, had to ask, everyone makes booboo's.
Ya, check if other apps have same issue.
If so, check your sierra.inf file. Probably batting up the wrong tree here again. But did see this in there.
//--------------------------------------------------------------------
// To support internationalization (or custom flavors), set and enable
// this option. Leave it disabled for the default english version.
//--------------------------------------------------------------------
//ExtraConfig "French" _________________ Support bacteria – they’re the only culture some people have.”
– Steven Wright |
|
Back to top |
|
|
Bibabuzemann n00b
Joined: 16 Sep 2003 Posts: 7 Location: Germany
|
Posted: Tue Sep 16, 2003 3:07 pm Post subject: |
|
|
Decibels wrote: |
Sorry, had to ask, everyone makes booboo's.
|
np
from sierra.inf:
ExtraConfig "de"
I assume this file is for the installer and does not effect HL directly
I testet the keymappings with mirc on the seperate xserver and with notepad on my standard desktop in managed mode. Everything works fine... even the german layout.
It must have something to do with the special way HL retrieves keyevents. It is, for example, impossible to get a german layout into HL even in MS Windows, and I am using the German version of HL. I would have guessed that it's a bug in wine, if there weren't so few with this problem. I only found sole rather old and unanswered posts in th wine mailing list.
$ locale
it shows exactly the output you described _________________ -_- -bib- |
|
Back to top |
|
|
RossBob n00b
Joined: 02 Sep 2003 Posts: 29
|
Posted: Tue Sep 16, 2003 3:26 pm Post subject: |
|
|
I am having the same problem with Warcraft 3...I think it has nothing to do with the game config...something to do with wine...Office 2000 is working fine though...cant work it out |
|
Back to top |
|
|
Bibabuzemann n00b
Joined: 16 Sep 2003 Posts: 7 Location: Germany
|
Posted: Wed Sep 17, 2003 8:47 am Post subject: |
|
|
Do you have the option nodeadkeys enabled in your XF86Config? _________________ -_- -bib- |
|
Back to top |
|
|
Bibabuzemann n00b
Joined: 16 Sep 2003 Posts: 7 Location: Germany
|
Posted: Wed Sep 17, 2003 3:53 pm Post subject: |
|
|
HA! I got it
in XF86Config change
Code: |
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
|
into
Code: |
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
EndSection
|
_________________ -_- -bib- |
|
Back to top |
|
|
|