Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 16.0 (home page)Version 15.0 (home page, current version)Version 14.0 (home page)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 9.0 (home page)Version 8.0 (home page)Version 7.0 (home page)Version 6.0Version 5.0 (home page)Version 4.0 (home page)

On this page

deadkey statement

Description

deadkey(name)

dk(name)

The deadkey or dk statement lets you program a deadkey in your keyboard. The deadkey will be processed by Keyman as if it were a normal character, but it is not output onto the screen, but stored internally in the context. Any keyboard can have around 65,000 unique deadkeys.

Keyman 5.0 and later support named deadkeys. The use of numbered deadkeys is still supported, though not recommended; named deadkeys make the keyboard source much more readable.

Examples


Any deadkeys inserted by another rule immediately before or after the character to the left of the insertion point will be deleted when backspace is pressed, unless backspace is overridden with a keyboard rule. This can be illustrated with the following implicit rule (* indicates 0 or more deadkeys; 'char' is any character):

dk()* any(char) dk()* + [K_BKSP] > nul