Difference between revisions of "KEYB"

From DOSBoxWiki
Jump to navigationJump to search
(Added for people who don't know how to change keyboard mapping (Important for european keyboards) PUT THIS ON FRONT PAGE! :))
 
 
(15 intermediate revisions by 8 users not shown)
Line 11: Line 11:
 
</tt></blockquote>
 
</tt></blockquote>
  
For example the following will set your keyboard layout to Swedish:
+
For example the following will set your keyboard layout to a Swedish keyboard:
  
 
<blockquote><tt>
 
<blockquote><tt>
 
KEYB sv
 
KEYB sv
 
</tt></blockquote>
 
</tt></blockquote>
 +
 +
or for not default character set:
 +
 +
<blockquote><tt>
 +
KEYB sv 437
 +
</tt></blockquote>
 +
 +
The keyboard layout can also be set in [[dosbox.conf]] (see [[Configuration:DOS]]), so it can also be set with the internal CONFIG command:
 +
<blockquote><tt>
 +
CONFIG -set dos keyboardlayout [keyboard layout code/id]
 +
</tt></blockquote>
 +
  
 
=Layout codes=
 
=Layout codes=
Line 21: Line 33:
 
<pre>    Keyboard  Character  Keyboard        Country or
 
<pre>    Keyboard  Character  Keyboard        Country or
 
     layout    set        identification  language
 
     layout    set        identification  language
 +
------------------------------------------------------------------
 
     be        850, 437    120            Belgium
 
     be        850, 437    120            Belgium
 
     br        850, 437                    Brazil
 
     br        850, 437                    Brazil
Line 40: Line 53:
  
 
     po        850, 860    163            Portugal
 
     po        850, 860    163            Portugal
 +
    ru        866                          Russian
 
     sp        850, 437    172            Spain
 
     sp        850, 437    172            Spain
 
     sv        850, 437    153            Sweden
 
     sv        850, 437    153            Sweden
Line 47: Line 61:
 
     uk        850, 437    166, 168        United Kingdom
 
     uk        850, 437    166, 168        United Kingdom
 
     us        850, 437    103            United States
 
     us        850, 437    103            United States
 +
    dv103      850, 437    104            United States (Dvorak)
 
     yu        852, 850                    Yugoslavia (Serbo-Croatian)
 
     yu        852, 850                    Yugoslavia (Serbo-Croatian)
    XX        YYY        NNN
+
</pre>
  
    Keyboard  Character  Keyboard        Country or
+
See also [http://support.microsoft.com/en-en/kb/117850 MS-DOS 6.22 Country.txt]
    layout    set        identification  language
 
</pre>
 

Latest revision as of 19:40, 13 September 2015

Introduction

Keyb is used to change the layout of the keyboard used for different countries.

Syntax

Configures a keyboard for a specific language.

KEYB [keyboard layout code/id]

For example the following will set your keyboard layout to a Swedish keyboard:

KEYB sv

or for not default character set:

KEYB sv 437

The keyboard layout can also be set in dosbox.conf (see Configuration:DOS), so it can also be set with the internal CONFIG command:

CONFIG -set dos keyboardlayout [keyboard layout code/id]


Layout codes

    Keyboard   Character   Keyboard         Country or
    layout     set         identification   language
------------------------------------------------------------------
    be         850, 437     120             Belgium
    br         850, 437                     Brazil
    cf         850, 863     058             Canadian-French
    cz         852, 850                     Czechoslovakia (Czech)
    sl         852, 850                     Czechoslovakia (Slovak)

    dk         850, 865     159             Denmark
    su         850, 437     153             Finland
    fr         850, 437     120, 189        France
    gr         850, 437     129             Germany
    hu         852, 850                     Hungary

    it         850, 437     141, 142        Italy
    la         850, 437     171             Latin America
    nl         850, 437     143             Netherlands
    no         850, 865     155             Norway
    pl         852, 850                     Poland

    po         850, 860     163             Portugal
    ru         866                          Russian
    sp         850, 437     172             Spain
    sv         850, 437     153             Sweden
    sf         850, 437     150             Switzerland (French)
    sg         850, 437     000             Switzerland (German)

    uk         850, 437     166, 168        United Kingdom
    us         850, 437     103             United States
    dv103      850, 437     104             United States (Dvorak)
    yu         852, 850                     Yugoslavia (Serbo-Croatian)

See also MS-DOS 6.22 Country.txt