KEYB

From DOSBoxWiki
Jump to: navigation, search

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

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
    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
    yu         852, 850                     Yugoslavia (Serbo-Croatian)
    XX         YYY         NNN

    Keyboard   Character   Keyboard         Country or
    layout     set         identification   language