View Full Version : How to use mouse in OpenGL?
07-18-2004, 06:24 PM
Operate in Console.How to use OpenGL command to drive mouse?Do not use MFC.
07-18-2004, 07:59 PM
opengl doesn't have any functions dealing with mouse or for that matter any input. Because it is a portabel API, meaning you must use something else ex:glut.
07-19-2004, 01:51 AM
You just use the native mouse support in your os (win32 I guess in your case).
Do display anything without using off screen buffers you need a window, use the mouse support you have in that window.
07-21-2004, 11:06 AM
you may also use directx (direct input) to work with mouse and keyboard
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.