• 2 Posts
  • 370 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2024

help-circle
  • There is a shitty 2007 TV movie by ČT Studio Brno (at this point, “shitty” is redundant) Kája a Zabi, where the protagonist, little boy Kája, mashes his keyboard in frustration, causing an off-brand Lara Croft to appear IRL. I haven’t seen the movie but she allegedly speaks broken Czech in a weirdly modulated voice, and keeps asking who Kája wants her to kill (“zabít”, hence the nickname she gets). I assume she is just about as psychopathic as Lara.








  • The “n” is probably a misprint, AltGr+2 prints “²” and AltGr+3 prints “³” in the German layout; it can be customized to actually print “n” in xkb though.

    I mean, if the redundant Windows keys produce different codes, it could be worth a lot to macro enthusiasts. The model exists with an English QWERTY layout too:

    The picture seems to be from 1998 so you’ll likely need a passive DIN to mini-DIN adapter as well.


  • I did’t know much about the German keyboard layout but I know the Czech one, which is derived from it (we both use QWERTZ) and was able to look up most of what I didn’t know.

    So, the keyboard has 4 layers: default, Shift, AltGr, AltGr+Shift (the fourth one is not standard but is recognized by xkb; in Czech I use it for custom character mappings, in German it is standardized but Linux-only).

    • Default layer prints lowercase letters a-z and äöüß, numbers and the symbols in the lower-left of each key.
    • Shift layer prints uppercase letters A-Z and ÄÖÜ and symbols at the top left of each key.
      • Caps Lock only affects letters.
    • AltGr layer prints lower-right symbols, most of which are only populated in a later version of the layout.
    • AltGr+Shift (Linux only) prints upper-right symbols.

    As you can see, AltGr+2 produces ², and AltGr+3 produces ³. I think the full-size “2” and “n” are misprints. My old Czech keyboard has some errors too.

    By the way, Czech is more chaotic:

    • we have lots more diacritics so the number row only prints numbers on its Shift layer (most people therefore use the numpad only)
    • to print rare diacritics (ó, ď, ť, ň, and German ä, ö, ü), one has to first press the corresponding modifier key (´, ˇ, ˚, ¨) like on typewriters
      • an alternative for common capital diacritics (á, é, ě, í, ú, ů, ý, ž, š, č, ř) is to briefly turn on Caps Lock (advantage over typewriters)
      • pressing the ˚ key twice prints the degree sign (°) twice (Windows) or once (Linux)
    • there is a bloody dedicated § key but we need to press AltGr+7 twice, then backspace (or Alt+96) for a grave (`), which is part of ASCII and used in Markdown
    • physical keyboards almost always reserve the right side of the keys for the English-US layout (very confusing for novices) so one has to type in the AltGr layer blind (except for ); it contains useful symbols ([]{}<>|\€$@#^&×÷`) as well as useless ones (Đđ – these are Slovene, why not the Slovak Ôô?), leading people to prefer Windows-only left-Alt+numpad codes (such as Alt+64 for @) that use the obsolete OEM-1252 codepage (the Unicode extension has to be enabled via registry and Alt+letters hex codes get passed to programs anyway, often defocusing the input element). I only found a Slovak one on Wikimedia Commons
    • some lazy manufacturers combine the Czech/English and Slovak/English layouts, which are similar except ľ, ť and ô, leading to 5 (!) symbols per key, 3 of which are irrelevant unless you switch layouts
    • Gboard for Android offers QWERTY for Czech, which looks normal (hold for diacritics, potentially swipe for ě and ů) and the unpopular QWERTZ-PC, which has all the physical keyboard’s quirks, but its “Czech QWERTZ” is based off German QWERTZ, containing ú and ů but not the other diacritics for some reason. All other keyboard apps with Czech language layout get this right (hold for diacritics, potentially swipe for ě and ů)!












  • unsigned int turn_char_to_int(char pChar)
    {
        switch(pChar)
        {
        case 'a':
            return 10;
        case 'b':
            return 11;
        case 'c':
            return 12;
        case 'd':
            return 13;
        case 'e':
            return 14;
        case 'f':
            return 15;
        case 'g':
            return 16;
        case 'h':
            return 17;
        case 'i':
            return 18;
        case 'j':
            return 19;
        case 'k':
            return 20;
        case 'l':
            return 21;
        case 'm':
            return 22;
        case 'n':
            return 23;
        case 'o':
            return 24;
        case 'p':
            return 25;
        case 'q':
            return 26;
        case 'r':
            return 27;
        case 's':
            return 28;
        case 't':
            return 29;
        case 'u':
            return 30;
        case 'v':
            return 31;
        case 'w':
            return 32;
        case 'x':
            return 33;
        case 'y':
            return 34;
        case 'z':
            return 35;
        case ' ':
            return 36;
        case '.':
            return 37;
    
        }
    }
    

    Are you a monster or just stupid?