This is a chapter from the book Implementing Writing Systems discussing issues of keyboard layout design and the complications of designing very large or very small keyboards. All the examples are expressed in terms of the Keyman keyboard description language, and the reader is referred to the relevant documentation on that language.