removed inputcore module. changed to an inline keylistener.