I updated the SetKeyState, and it can now be found in the UDFs here:
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=190022&Main=25720#Post190022