spiegel-keyman/web/docs/engine/guide/examples/automatic-control.md
Eberhard Beilharz d7439e68ac
chore(web): more improvements to documentation
- update text in `__control-by-control.html` sample
- some small updates to the text

Build-bot: skip
Test-bot: skip
2026-06-03 19:40:01 +02:00

990 B

title
Automatic Mode Example

This page shows how to include a local keyboard from an arbitrary location in your website's file structure.

In this example, we use only the LaoKey keyboard. Please click this link to open the test page.

Code Walkthrough

<head>
  <!-- Start of Code -->
  <script src="js/keymanweb.js" type="text/javascript"></script>
  <script>
    keyman.init().then(function() {
      keyman.addKeyboards({
        id:'laokeys',
        name:'Lao (Phonetic)',
        languages:{
          id:'lo',
          name:'Lao'
        },
        filename:'./js/laokeys.js'
      });
    });
  </script>
  <!-- End of Code -->
</head>

API References

On initialization: keyman.init().

On including keyboards: keyman.addKeyboards().


On to Manual Control Example