Keyboard

From OpenTTD

Jump to: navigation, search
Image:NightlyIcon.png
Nightly Builds
The features mentioned in this section are currently only available in non-production releases such as nightly builds, betas or release candidates. Available from r12425 onwards

Please remove the template once the feature has been released in a stable version of the game

The layout to use for the on screen keyboard. This is a client-setting only.

[edit] 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