Loading...
 

KDT Session 5

Keyman Developer Tutorial

On-screen

Session 5

 

This session we will create an on-screen image for the desktop keyboard for the Dagbani language of Ghana.  This image will be displayed when we activate the On-screen keyboard in Keyman and click on the keyboard icon. We will export the image for packaging.

The On-Screen pane allows us to edit the visual representation of our keyboard layout. The content on this tab is stored in the KVKS file associated with our keyboard. The visual representation is used only in desktop and desktop web. However, if no touch layout is defined, this layout will be synthesized into a touch layout automatically.

An On-Screen keyboard is optional but in most keyboards is recommended. The On-Screen keyboard may not always match the actual layout identically, because we may choose to hide some of the details of encoding from the interface presented to the user. The user can also choose to print the layout.

This keyboard layout can also be printed or included in HTML or other documentation. The editor allows us to export the file to HTML, PNG or BMP formats.

  1. Start Keyman Developer.
  2. In the Project menu, point to Recent Projects, click DagbaniTutorial.kpj.
  3. In the Project - Keyboard dialog box, click dagbanitutorial.kmn.   The Details pane appears. 
  4. Click On-Screen. The On-Screen pane appears.
  5. First, we will automatically generate an On-Screen Keyboard that matches the layout. This can be used to effectively pre-populate the On-Screen Keyboard and reduces the complexity of designing it from scratch.  So, click on Fill from layout.

We get a message about overwriting existing keys.  Click OK.

6. In our situation, we do not need to make any changes to the on-screen keyboard.

We can change a key to display text by entering the desired text in the Text box.

We can change a key to display an image by clicking Browse associated with Bitmap button.

7. Now we can save the on-screen layout as an image by clicking Export. We should be at the Projects > dagbanitutorial folder.  Navigate to the source folder.  Set the Save as type to PNG.  In the File name box, enter DagbaniTutorial.  Then Click Save.

 

8. The Output Bitmap Parameters dialog box appears. Set One file per shift state.  This will create a screen image file for each layer that we created.  This is the preferred choice.  Then click OK.  We will use the exported file in the package that we will be generating later.

 

9. Now save our work by clicking the Save icon.


Contributors to this page: kent_schroeder .
Page last modified on Thursday November 4, 2021 15:03:01 GMT-0000 by kent_schroeder.

License

Creative Commons License
All content on this LingTranSoft wiki are by SIL International are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.