Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Gresc

The mouse interacting with OGL

This topic is 5615 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

does anyone know of any good tutorials that teach you how to use the mouse in opengl? or is it just you need to resort to using dinput(please no!)

Share this post


Link to post
Share on other sites
Advertisement
opengl is a graphics api only ... has no support for input, sound, etc ...

i used dinput ... it isnt all that bad

SiN

Share this post


Link to post
Share on other sites
Exist a lot of mouse input settings,choose one that u like...ASM it''s very simple to read mouse input''s (i know that ASM work with menmonics) try "mouse input c++ (i think) tutorial" in google.

_,,,^Ó..ò^,,,_

Share this post


Link to post
Share on other sites

I use the good ol'' GetCursorPos WINAPI function when working on Windows (and not working with GLUT), I find it works fine.

~SPH

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!