详细说明:vc++结合Opengl开发,用到directinput组件,实现鼠标时间捕捉,小球开开始运动。
文件列表(点击判断是否您需要的文件):
DirectInput鼠标演示
...................\Debug
...................\DirectInput鼠标演示.exe
...................\DirectInput鼠标演示.ncb
...................\DirectInput鼠标演示.sln
...................\DirectInput鼠标演示.suo
...................\DirectInput鼠标演示.vcproj
...................\GLFrame.cpp
...................\GLFrame.h
...................\GLWindow.cpp
...................\GLWindow.h
...................\Input.cpp
...................\Input.h
...................\MouseDemo.cpp
...................\MouseDemo.h
...................\stdafx.h
...................\Vector.cpp
...................\Vector.h
DirectInput鼠标演示
...................\Debug
...................\DirectInput鼠标演示.exe
...................\DirectInput鼠标演示.ncb
...................\DirectInput鼠标演示.sln
...................\DirectInput鼠标演示.suo
...................\DirectInput鼠标演示.vcproj
...................\GLFrame.cpp
...................\GLFrame.h
...................\GLWindow.cpp
...................\GLWindow.h
...................\Input.cpp
...................\Input.h
...................\MouseDemo.cpp
...................\MouseDemo.h
...................\stdafx.h
...................\Vector.cpp
...................\Vector.h