register functions. Keyboard type.