Input method is a set of functions that translates key strokes into character strings in the code set specified by your locale. Input method functions include locale-specific input processing and keyboard controls (for example, Ctrl, Alt, Shift, Lock, and Alt-Graphic). The input method allows various types of input, but only keyboard events are dealt with in this chapter. Your locale determines which input method should be loaded, how the input method runs and which devices are used. The input method then defines states and their outcome.