| 1 |
# Layouts |
| 2 |
|
| 3 |
This directory contains packages which implement keyboard layouts for the emulator |
| 4 |
subsystem. |
| 5 |
|
| 6 |
The emulator subsystem is designed to support writing your own terminal emulators, |
| 7 |
including the simulation (mock) terminal emulator used to test TCell. |
| 8 |
|
| 9 |
If you're not implementing a terminal emulator, you don't need this. |
| 10 |
|
| 11 |
## Designing a New Layout |
| 12 |
|
| 13 |
The layout subsystem is intended to be extensible, where layouts can inherit from |
| 14 |
other layouts, so that you only need to implement the differences. |
| 15 |
|
| 16 |
A good place to start is by looking at the us/ package, and the US International Layout |
| 17 |
in particular (which extends on the vanilla ANSI layout. The ANSI layout is always available.) |
| 18 |
|
| 19 |
## Finding Layout Information |
| 20 |
|
| 21 |
A good source for information about keyboard layouts is [this site](https://kbdlayout.info). |
| 22 |
Pay particular attention to shift states for a given layout, and the dead keys. |
| 23 |
|
| 24 |
## Limitations |
| 25 |
|
| 26 |
As of this writing, support for Ligature Keys is absent. |