Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 19.0Version 18.0 (current version)

On this page

You are viewing an incomplete pre-release version of this documentation. Click here to open the current version, 18.0.

KeymanKeyboardGenerator class

Home > @keymanapp/kmc-generate > KeymanKeyboardGenerator

KeymanKeyboardGenerator class

Generate a Keyman keyboard project. The generator does not read or write from filesystem or network directly, but relies on callbacks for all external IO.

Signature:

export declare class KeymanKeyboardGenerator extends BasicGenerator implements KeymanCompiler 

Extends: BasicGenerator

Implements: KeymanCompiler

Properties

Property Modifiers Type Description
[SFile\_Keyboard](./kmc-generate.keymankeyboardgenerator.sfile_keyboard.md) `static` `readonly` (not declared)
[SFile\_KeyboardKMN](./kmc-generate.keymankeyboardgenerator.sfile_keyboardkmn.md) `static` `readonly` string
[SFile\_KeyboardKPS](./kmc-generate.keymankeyboardgenerator.sfile_keyboardkps.md) `static` `readonly` string
[SFile\_KeyboardKVKS](./kmc-generate.keymankeyboardgenerator.sfile_keyboardkvks.md) `static` `readonly` string
[SFile\_Project](./kmc-generate.keymankeyboardgenerator.sfile_project.md) `static` `readonly` string
[SFile\_TouchLayout](./kmc-generate.keymankeyboardgenerator.sfile_touchlayout.md) `static` `readonly` string

Methods

Method Modifiers Description
[run()](./kmc-generate.keymankeyboardgenerator.run.md) Generate a Keyman Keyboard project. Returns an object containing binary artifacts on success. The files are passed in by name, and the compiler will use callbacks as passed to the [AbstractGenerator.init()](./kmc-generate.abstractgenerator.init.md) function to read any input files by disk.