to complete detourrawinput_emulation.cpp