Questions tagged [mouse]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
650 views

How to detect when left mouse button is released in GLUT after being held in motion?

I am trying to detect when my left mouse button is released to store the result in a boolean variable in OpenGL GLUT. Currently, I am using the motion() function in ...
0 votes
1 answer
272 views

How to get coordinates of mouse after left mouse button is released after drag in OpenGL?

I want to get the coordinates of my mouse after the left mouse button is released after being dragged in OpenGL? I am new to this and wanted to know how I can implement it.