Keyboard Properties
Most keyboards are generated automatically from the Keyman keyboard source by Keyman Developer and contain properties used by KeymanWeb during keyboard mapping. Keyboards implement mapping by invoking functions within KeymanWeb, but do not interact directly with the user interface. However, user interfaces may need to interact with custom developed keyboards if, for example, they use a "pick list" or have other IME-like behavior.
Each registered keyboard object defines some or all of the following exposed string properties:
KNstring, (name) visible name of the keyboard, required.KIstring, (internalName) identifier of the keyboard, starting withKeyboard_, required.KMINVERstring, minimum version that the keyboard will run on,2.0if not present, optional.KVobject, on screen keyboard definition, optional.KDUnumber,1to display underlying characters on On Screen Keyboard,0or omitted to hide them, optionalKHstring, Keyboard help, in HTML; if present replacesKVin the On Screen Keyboard, optionalKMnumber,1to use mnemonic layout,0or omitted for positional, optionalKBVERstring, version of the keyboard (should be dotted decimal format), optionalKMBMnumber, bitmask denoting modifiers used in the keyboard, if not present defaults to 0x0070, optionalKVKLobject, touch layout definition, optional.KVERstring, version of Keyman Developer used to compile the keyboard, optionalKVSstring[], array of all variable store names found in the keyboard (15.0 and later), optionalKSnumber,1means Unicode characters U+10000-U+10FFFF, including the Supplementary Multilingual Plane (SMP), are used in the keyboard, optionalKVKDobject, Virtual key dictionary listing custom touch keys used in the keyboard, optionalKCSSstring, Custom CSS defined by the keyboard, optionalKFontobject, Embedded font specification for mapped input elements and on-screen keyboard, optionalKOskFontobject, Embedded font specification for on-screen keyboard, optional
For most keyboards which require an embedded font, the same font will be used
for mapped elements and the on-screen keyboard, and only the KFont property
wil be defined. The additional property KOskFont property would only be used
where it may be helpful to use a different embedded font for the on-screen
keyboard.
The KFont and KOskFont members are objects with the following members:
familystring, font-family name for embedded font, e.g.'LatinWeb'filesstringorstring[], Font file name or names, e.g.['DejaVuSans.ttf','DejaVuSans.woff','DejaVuSans.eot']


