Mouse Position: High Precision

This is a discussion on Mouse Position: High Precision within the Windows Programming forums, part of the Platform Specific Boards category; Is there any way of ascertaining the mouse's position with a precision of more than a single pixel? Some sort ...

  1. #1
    Budding Synth Programmer samGwilliam's Avatar
    Join Date
    Feb 2002
    Location
    Trefforest
    Posts
    368

    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
    Location
    University of Waterloo
    Posts
    1,903
    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
    Posts
    1,342
    I don't think you can get more exact than one pixel.

  4. #4
    Registered User
    Join Date
    Nov 2001
    Posts
    38
    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).

    ________
    Rutabega

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, 03: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, 05:23 AM
  5. Mouse position in DirectX
    By Barjor in forum Game Programming
    Replies: 1
    Last Post: 03-09-2003, 08:13 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21