With the Dynawrapper dll, setting the keystate is now possible.

See SetKeyState - http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=190022#Post190022