Keyboard

From OpenTTD
Jump to: navigation, search


<<Back to the Openttd.cfg (OpenTTD configuration file)


keyboard and keyboard_caps are two variables of Openttd.cfg file:

The layout to use for the on screen keyboard. This is a client-setting only, available from r12425 or OpenTTD 0.7.0.

Use

When nothing is entered, the program will use the default keyboard layout for your language.

  • "keyboard" is the variable for the main keyboard layer
  • "keyboard_caps" is for the layer that appears when the shift key or caps lock is pressed

The characters will appear on the keyboard layout in the same order as you entered them in the string.

[misc]
keyboard = <String>
keyboard_caps = <String>

Valid options: Any string with 50 displayable characters

Default: <empty>

If some of the characters are invalid a warning message will tell you about it and those characters will be reset ingame.

Example:

An example for a Dvorak keyboard layout:

[misc]
keyboard =      `1234567890[]\',.pyfgcrl/=aoeuidhtns- ;qjkxbmwvz
keyboard_caps = ~!@#$%^&*(){}|"<>PYFGCRL?+AOEUIDHTNS_ :QJKXBMWVZ
Personal tools