Thread: Mouse Position: High Precision

  1. #1
    Budding Synth Programmer samGwilliam's Avatar
    Join Date
    Feb 2002

    Mouse Position: High Precision

    Is there any way of ascertaining the mouse's position with a precision of more than a single pixel? Some sort of mouse hardware register?
    MSVC++ 6.0

  2. #2
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    University of Waterloo
    If you want really accurate information about the mouse I'd suggest looking in to some DirectX code for directly accessing your mouse's hardware.

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    I don't think you can get more exact than one pixel.

  4. #4
    Registered User
    Join Date
    Nov 2001
    Yes, using mickeys.

    Mickeys are individual movements of the mouse on the hardware level. The number of mickeys per pixel is configurable and this is one way that mouse acceleration can be done by adjusting the number of mickeys to make the cursor move faster.

    Your best bet would be to search google or msdn for mickeys, but keep in mind that searching for 'mickey mouse' is going to get lots of interference from a particular fictional rodent (mickeys were, of course, named after that rodent).


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Position mouse in external application
    By keira in forum C# Programming
    Replies: 1
    Last Post: 09-15-2008, 07:05 PM
  2. Getting the position of the mouse cursor
    By Mavix in forum Game Programming
    Replies: 5
    Last Post: 12-27-2007, 04:02 PM
  3. Problem in mouse position
    By Arangol in forum Game Programming
    Replies: 6
    Last Post: 08-08-2006, 07:07 AM
  4. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  5. Mouse position in DirectX
    By Barjor in forum Game Programming
    Replies: 1
    Last Post: 03-09-2003, 09:13 PM