Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [40d9] under Linux: Keyboard screwed  (Read 985 times)

counterfeit

  • Bay Watcher
    • View Profile
[40d9] under Linux: Keyboard screwed
« on: March 13, 2009, 06:12:51 am »

Other posts regarding keyboard issues don't really appear to cover my case.

Some of my keys are screwed, like instead of "+" I get "=", instead of "#" I get "3". Others do not show a key pressed, when I try to reassign the "?" to help due to df no key is pressed.
I run the 409d linux version on Ubuntu 8.04, my keyboard layout is german nodeadkeys and my locale is de_DE.UTF-8.

Any suggestions about what I could do or hints on how to narrow down the problem?
Logged

Variance

  • Bay Watcher
  • Let's scare some woodcutters, Billy.
    • View Profile
Re: [40d9] under Linux: Keyboard screwed
« Reply #1 on: March 13, 2009, 09:42:53 pm »

You do realize that each problem you described happens when you're trying to use a capitalized symbol on the keyboard, where you have to press shift? Are you pressing shift when you do this? Because otherwise, it makes perfect sense that an unshifted "3/#" key would make 3. You have to press shift to make #. DF doesn't register # unless you actually type the symbol in as you would if you were going to make # on a word document, so you need to actually specify shift-"3" to make #, just like when you type it on the forums.

Correct me if you're wrong and you really are pressing shift, but I think that your problem is that you didn't realize you need to still press shift in DF also for it to register shifted symbols like # or ?. It just sounds like a capitalization problem: you should get "=" when you press the "= and +" key.
« Last Edit: March 13, 2009, 09:44:28 pm by Variance »
Logged
Why is everyone so angry?

counterfeit

  • Bay Watcher
    • View Profile
Re: [40d9] under Linux: Keyboard screwed
« Reply #2 on: March 14, 2009, 11:02:58 am »

Quote
You do realize that each problem you described happens when you're trying to use a capitalized symbol on the keyboard, where you have to press shift?
No, because I don't have to.
Quote
Are you pressing shift when you do this?
Yes, I do when I have to, e.g. for "?" (remember: I use a german keyboard/layout)

So, it does not make sense for my keyboard layout to get a "3" instead of "#" and nothing instead of "?". I don't know very much about other keyboard layouts but I assume you are refering to an english layout when you talk about the "perfect sense" of my results. Unfortunately I was not able to confirm my keyboard is behaving like an english one. There are quite a lot of keys that don't give any input to df when I try to reassign keys and "?" is not where it should be on an english layout. Besides df still gives me "qwertz" like it should do for a german layout.
Unfortunately my problem persists... and, what is a word document anyhow?
Logged

Variance

  • Bay Watcher
  • Let's scare some woodcutters, Billy.
    • View Profile
Re: [40d9] under Linux: Keyboard screwed
« Reply #3 on: March 14, 2009, 09:04:45 pm »

So, it does not make sense for my keyboard layout to get a "3" instead of "#" and nothing instead of "?". I don't know very much about other keyboard layouts but I assume you are refering to an english layout when you talk about the "perfect sense" of my results. Unfortunately I was not able to confirm my keyboard is behaving like an english one. There are quite a lot of keys that don't give any input to df when I try to reassign keys and "?" is not where it should be on an english layout. Besides df still gives me "qwertz" like it should do for a german layout.
Unfortunately my problem persists...
I think the difference between the German and English layouts is the problem. Whatever layout you have isn't recognized by DF as any different, and it defaults to the English layout. Keys that don't exist on an English keyboard have no relevance to DF, so it doesn't think they exist on your keyboard either. Keys like "z" don't register as that spot in the keyboard, but as the "z" key, so DF doesn't confuse it with the "y" key like it could.

Looking at the German keyboard layout, I don't think that the "# and ' " key actually exists on the English keyboard, that row is only 11 input keys across on our keyboard and yours is 12 keys across. That's probably why you're getting weird things like "3", because that key isn't even on the English keyboard. Also, your "+ and ~ and *" key is in a row that's shorter than the English keyboard, because we have the "| and \" key above the enter key.

I think your problem is that all the strange keys you've been having weirdness with are keys that don't exist at all on the English keyboard, or exist where there is a discrepancy in the number of keys there should be. If reassigning keys doesn't work...I guess you might have to bo buy and English keyboard. I dunno.

Quote
what is a word document anyhow?
A document in Microsoft Word.
Logged
Why is everyone so angry?

Guillaume777

  • Bay Watcher
    • View Profile
Re: [40d9] under Linux: Keyboard screwed
« Reply #4 on: March 15, 2009, 01:12:52 am »

I also have a similar problem under XP using a french canadian keyboard (with no numpad).

The +- key simply does not work, and as a result I am unable to add/remove items before embarking.

I find it hard to believe that in this day and age, games are still produced with no support for other keyboard layouts. Shows quite well how ethnocentric some people can be.
Logged

counterfeit

  • Bay Watcher
    • View Profile
Re: [40d9] under Linux: Keyboard screwed
« Reply #5 on: March 15, 2009, 04:28:44 am »

I did some testing. 40d-win under wine behaves much better. Most of the special keys I checked are where I expected them to be for an english layout. Some physical keys don't show any effect in df ("ö"). 40d9-win under wine shows the same "good" behaviour for the sample I tested. Both win-versions under wine still give me "qwertz" instead of "qwerty". So I get the behaviour of an english keyboard layout for most but not all of the keys.
40d9-linux behaves much worse, I don't know which layout I really get, it is neither close to a german layout nor close to an english one.

Other people reported problems with their "azerty" layout in 40d2-40d6 which were fixed, so some support for different layouts should be there...

Quote
   
Quote
what is a word document anyhow?
A document in Microsoft Word.
Ah, Microsoft, isn't that a hardware company? I think they do things like mouses and joysticks?
Logged