What are the commands for mouse press?
I wanted to do it so that when you hold the right mouse button, and move the mouse, it rotates the world, but if I don''t have the right mouse button pressed, it is just there as a cursor.
Can someone just tell me the code for when the left mouse button, and right mouse button are held down. Using DirectInput.
( For example, testing whether the B key is held down in DirectInput, you simply use "if ( buffer[DIK_B] & 0x80)" )
Thanx in advance to anyone that can help.
~Cobra~
"Build a man a fire, and he will be warm for a day. Set a man on fire, and he will have warmth for the rest of his life"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement