Results 1 to 2 of 2

Thread: Capture mouse movement

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2002
    Posts
    1

    Capture mouse movement

    I am using GLUT lib to do programming on Windows XP. I know there is a function 'glutMotionFunc' can catch mouse movement, but it just can catch the movement when some button is holding.

    Is there someone know how I can capture the mouse movement without holding anying button?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: Capture mouse movement

    You mean like this glut function:

    glutPassiveMotionFunc( func )


    Originally posted by JenniferHu:
    I am using GLUT lib to do programming on Windows XP. I know there is a function 'glutMotionFunc' can catch mouse movement, but it just can catch the movement when some button is holding.

    Is there someone know how I can capture the mouse movement without holding anying button?

Similar Threads

  1. Right mouse Button and Mouse Movement for Zoom?
    By GrimmBro in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 02-20-2011, 04:45 AM
  2. Mouse movement
    By in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-10-2003, 05:02 AM
  3. mouse movement
    By joeshrewn in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 01-25-2003, 01:53 PM
  4. Replies: 3
    Last Post: 07-05-2001, 09:36 PM
  5. How do get the delete points from mouse capture
    By murali in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 06-26-2001, 08:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean