Skip to content

Configuration

Davide Beatrici edited this page Mar 20, 2021 · 2 revisions

The configuration file must be called kli.ini and reside in the working directory.

[install]

language_id

Example: 0x0409


From https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-loadkeyboardlayouta:

The name of the input locale identifier to load. This name is a string composed of the hexadecimal value of the Language Identifier (low word) and a device identifier (high word). For example, U.S. English has a language identifier of 0x0409, so the primary U.S. English layout is named "00000409". Variants of U.S. English layout (such as the Dvorak layout) are named "00010409", "00020409", and so on.

This setting specifies the language identifier, the device one is determined automatically.

product_code

Example: {F8A30057-8771-405E-BED0-63D7C4D30C22}


This is an UUID (or GUID) that is used to determine whether the layout is already installed on the system.

It should be unique for each layout, to prevent bad things from happening (i.e. the program uninstalling the wrong layout).

[layout]

file

Example: keyboard_layout_with_a_very_unique_filename.dll


The filename of the layout library.

Please note that the file is copied directly to the System32 folder, as such it's strongly recommended to use a (very) unique name.

text

Example: Layout Text


display_name

Example: Layout Display Name


Clone this wiki locally