to move key and mouse for injectbase_window.cpp