implemtnging keys for input on desktop