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...
but the mouse had nothing for checking clicks....and is there a better way to get keyboard input, like every key?Code:int trap() { int ascii = getch(); return ascii; }
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!)
![]()




Reply With Quote