I've been stuck with my imac and I need GetAsyncKeyState();

I can't seem to find an alternative on google, any help?