for school I have to make a function to trap all keys and the mouse buttons...msdn came up with nothing (again!)...the main keys are easy...
Code:
int trap()
{
	int ascii = getch();
	return ascii;
}
but the mouse had nothing for checking clicks....and is there a better way to get keyboard input, like every key?
this is a console app.

thanks!

(you don't have to write anything for me, just if you know any function names that would be fabulous!)