Creating a keymap file for xrdp.

xrdp has built in keymap and, with 0.5 and on, the ability to use external keymap files.
Keymap files are named like this.
km-0409.ini
where 409 is the hex code for the en-us language.
For a list of all the hex numbers click here.
After you create a new keymap file send it to the xrdp-devel mailing list to get it included in future versions of xrdp.

The keymap file is only for the keys that change between languages. The values in the keymap files are unicode.

The keymap files contains 4 sections. noshift, shift, altgr, capslock, and shiftcapslock.

BOF
[noshift]
key1=0x64
key2=0x65
...

[shift]
key1=0x64
key2=65
...

[altgr]
key1=0x64
key2=65
...

[capslock]
key1=0x64
key2=65
...

[shiftcapslock]
key1=0x64
key2=65
...
EOF

Last updated 10/23/2007