to add detourmessage_emulation_keystate.cpp into ioinject