Advertisement

What are the commands for mouse press?

Started by January 24, 2001 02:15 PM
-1 comments, last by Cobra 23 years, 10 months ago
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