Added 'localstate' to keypad symbols. Makes it possible to, for example, mark text with shift and keypad arrows.