i know in vb6 its (vbkeyRbutton),but i dont know c++,try it or search google
I want to do this:
If right mouse button is clicked do:
cout << "something...."
i know in vb6 its (vbkeyRbutton),but i dont know c++,try it or search google
I use DirectX DirectInput.dll for that (probably not the best way but who cares). You need the whole DirectX SDK for that though.
while ( 1 == 1 )
{
if (GetAsyncKeyState(0x02))
{
cout<< "Right mouse button!!!";
}
}