Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Anybody know of a Program that locks your mouse...

Anybody know of a Program that locks your mouse...

Scheduled Pinned Locked Moved The Lounge
testingbeta-testingquestionlearning
25 Posts 18 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JohnnyG
    wrote on last edited by
    #1

    movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

    H R W R L 8 Replies Last reply
    0
    • J JohnnyG

      movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

      H Offline
      H Offline
      Henry Minute
      wrote on last edited by
      #2

      I don't know of anything that does what you want, although someone might. Is this 'other developer' someone you know?

      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus!

      J 1 Reply Last reply
      0
      • J JohnnyG

        movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

        R Offline
        R Offline
        realJSOP
        wrote on last edited by
        #3

        Oranges. Which came first - the fruit, or the color?

        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
        -----
        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

        H W C Y 4 Replies Last reply
        0
        • J JohnnyG

          movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

          W Offline
          W Offline
          wizardzz
          wrote on last edited by
          #4

          Isn't diagonal mouse movement really just both horizontal and vertical movement simultaneously? I mean old mouse balls only had a roller for each axis.

          1 Reply Last reply
          0
          • R realJSOP

            Oranges. Which came first - the fruit, or the color?

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

            W Offline
            W Offline
            wizardzz
            wrote on last edited by
            #5

            How can the answer be anything but color?

            K 1 Reply Last reply
            0
            • R realJSOP

              Oranges. Which came first - the fruit, or the color?

              ".45 ACP - because shooting twice is just silly" - JSOP, 2010
              -----
              You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
              -----
              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

              H Offline
              H Offline
              Henry Minute
              wrote on last edited by
              #6

              Two mice, a stick of chalk, a Snickers Bar and a mallet. Where do I claim my prize?

              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus!

              L 1 Reply Last reply
              0
              • H Henry Minute

                I don't know of anything that does what you want, although someone might. Is this 'other developer' someone you know?

                Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus!

                J Offline
                J Offline
                JohnnyG
                wrote on last edited by
                #7

                Henry Minute wrote:

                Is this 'other developer' someone you know?

                Yes, it is. But I am performing independent testing and cannot ask him to change his program until testing is complete when I have found a problem and/or can make a request for a "I'd like to have" feature but it most likely would not be put in, in the interest of getting this version out the door ASAP. Basically, he cannot modify the program until testing is done, and we will have to perform regression testing and retesting for any fixed problems.

                F 1 Reply Last reply
                0
                • J JohnnyG

                  movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

                  R Offline
                  R Offline
                  Rajesh R Subramanian
                  wrote on last edited by
                  #8

                  With each movement of the mouse, there's an X and a Y travel. If the travel in say X direction is bigger than the Y - for example, 40 pixels movements in +ve X direction, and 3 pixels in +ve Y direction. Then ignore the Y movement by resetting the mouse pointer as if it were only moved in X direction. I'd think that it won't take a lot of efforts to write it yourself. :)

                  "Real men drive manual transmission" - Rajesh.

                  C 1 Reply Last reply
                  0
                  • R realJSOP

                    Oranges. Which came first - the fruit, or the color?

                    ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                    -----
                    You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                    -----
                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                    C Offline
                    C Offline
                    Chris Losinger
                    wrote on last edited by
                    #9

                    the fruit. there's no record of using the word for the color until the 1500's. but the fruit's name has origins in ancient Indian and Arabic languages.

                    image processing toolkits | batch image processing

                    G 1 Reply Last reply
                    0
                    • H Henry Minute

                      Two mice, a stick of chalk, a Snickers Bar and a mallet. Where do I claim my prize?

                      Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus!

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Henry Minute wrote:

                      Two mice, a stick of chalk, a Snickers Bar and a mallet.

                      Walk into a bar...

                      Join the cool kids - Come fold with us[^]

                      S 1 Reply Last reply
                      0
                      • R realJSOP

                        Oranges. Which came first - the fruit, or the color?

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                        Y Offline
                        Y Offline
                        Yusuf
                        wrote on last edited by
                        #11

                        John Simmons / outlaw programmer wrote:

                        Which came first - the fruit, or the color?

                        I guess the correct answer is, drum roll..... the texture. ;P

                        Yusuf May I help you?

                        1 Reply Last reply
                        0
                        • R Rajesh R Subramanian

                          With each movement of the mouse, there's an X and a Y travel. If the travel in say X direction is bigger than the Y - for example, 40 pixels movements in +ve X direction, and 3 pixels in +ve Y direction. Then ignore the Y movement by resetting the mouse pointer as if it were only moved in X direction. I'd think that it won't take a lot of efforts to write it yourself. :)

                          "Real men drive manual transmission" - Rajesh.

                          C Offline
                          C Offline
                          CPallini
                          wrote on last edited by
                          #12

                          Rajesh R Subramanian wrote:

                          I'd think that it won't take a lot of efforts to write it yourself.

                          Hopeful mood tonight? :laugh:

                          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                          [My articles]

                          1 Reply Last reply
                          0
                          • J JohnnyG

                            movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

                            L Offline
                            L Offline
                            Lost User
                            wrote on last edited by
                            #13

                            I got mine to do that by going onto the mouse settings. But it might depend on what device you have.

                            Hassan

                            1 Reply Last reply
                            0
                            • J JohnnyG

                              movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

                              G Offline
                              G Offline
                              Glenn Dawson
                              wrote on last edited by
                              #14

                              Use mouse keys: Microsoft Windows users can enable the accessibility feature to move the mouse using their arrow keys by following the below steps. 1. Click Start, Settings, Control Panel. 2. Within the Control Panel open Accessibility Options or Ease of Access 3. Click the Mouse tab. 4. Check the "Use Mouse Keys" check box. 5. If you wish to increase the speed or change any other settings, click on the Settings button. 6. Click Apply and then close out of the box. After performing the above steps you will be able to used the numeric keypad as a mouse moving up, down, left, right, and all the diagonals. In addition, you may also use the center "5" key as a left click.

                              A H J 3 Replies Last reply
                              0
                              • J JohnnyG

                                movement to only 4-directions? Sort of like a 4-way joystick but it must be seen as a mouse. In other words, make it seem like my mouse could only move in straight horizontal or vertical directions instead of any direction. I'm testing another developer's program and need for a zoom rectangle to be completely straight with unmoved corners as I draw the zoom rectangle selection area. I basically need to anchor the lower left corner as I move to define the lower right corner. Of course, the zoom selection rectangle starts by clicking the left mouse button down to define the starting upper left corner. P.S. I've googled for the past two hours and have found some programs that let your mouse emulate a joystick (not helpful) and I actually considered if I had a 4-way gamepad to use programs I've found that would let your joystick/gamepad emulate your mouse. TIA

                                B Offline
                                B Offline
                                badprog
                                wrote on last edited by
                                #15

                                Reminds me of an Etch a Sketch. Well at least I couldn't master the diagonal or curved lines.

                                :)

                                1 Reply Last reply
                                0
                                • G Glenn Dawson

                                  Use mouse keys: Microsoft Windows users can enable the accessibility feature to move the mouse using their arrow keys by following the below steps. 1. Click Start, Settings, Control Panel. 2. Within the Control Panel open Accessibility Options or Ease of Access 3. Click the Mouse tab. 4. Check the "Use Mouse Keys" check box. 5. If you wish to increase the speed or change any other settings, click on the Settings button. 6. Click Apply and then close out of the box. After performing the above steps you will be able to used the numeric keypad as a mouse moving up, down, left, right, and all the diagonals. In addition, you may also use the center "5" key as a left click.

                                  A Offline
                                  A Offline
                                  AspDotNetDev
                                  wrote on last edited by
                                  #16

                                  Well look at that, an actually useful answer! :thumbsup:

                                  [WikiLeaks Cablegate Cables]

                                  1 Reply Last reply
                                  0
                                  • G Glenn Dawson

                                    Use mouse keys: Microsoft Windows users can enable the accessibility feature to move the mouse using their arrow keys by following the below steps. 1. Click Start, Settings, Control Panel. 2. Within the Control Panel open Accessibility Options or Ease of Access 3. Click the Mouse tab. 4. Check the "Use Mouse Keys" check box. 5. If you wish to increase the speed or change any other settings, click on the Settings button. 6. Click Apply and then close out of the box. After performing the above steps you will be able to used the numeric keypad as a mouse moving up, down, left, right, and all the diagonals. In addition, you may also use the center "5" key as a left click.

                                    H Offline
                                    H Offline
                                    Henry Minute
                                    wrote on last edited by
                                    #17

                                    What a good solution! + 5:thumbsup:

                                    Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus!

                                    1 Reply Last reply
                                    0
                                    • C Chris Losinger

                                      the fruit. there's no record of using the word for the color until the 1500's. but the fruit's name has origins in ancient Indian and Arabic languages.

                                      image processing toolkits | batch image processing

                                      G Offline
                                      G Offline
                                      Gary R Wheeler
                                      wrote on last edited by
                                      #18

                                      Oh that's right. Go right ahead and spoil a perfectly absurdist thread with some rational academic explanation. Mister Party, that who you are. Sheesh.

                                      Software Zen: delete this;
                                      Fold With Us![^]

                                      K 1 Reply Last reply
                                      0
                                      • L Lost User

                                        Henry Minute wrote:

                                        Two mice, a stick of chalk, a Snickers Bar and a mallet.

                                        Walk into a bar...

                                        Join the cool kids - Come fold with us[^]

                                        S Offline
                                        S Offline
                                        Soulus83
                                        wrote on last edited by
                                        #19

                                        Interesting excercise.... :-D

                                        Trollslayer wrote:

                                        Walk into a bar...

                                        And the bartender asks what are they having for a drink. The mice ask for...

                                        1 Reply Last reply
                                        0
                                        • J JohnnyG

                                          Henry Minute wrote:

                                          Is this 'other developer' someone you know?

                                          Yes, it is. But I am performing independent testing and cannot ask him to change his program until testing is complete when I have found a problem and/or can make a request for a "I'd like to have" feature but it most likely would not be put in, in the interest of getting this version out the door ASAP. Basically, he cannot modify the program until testing is done, and we will have to perform regression testing and retesting for any fixed problems.

                                          F Offline
                                          F Offline
                                          fjdiewornncalwe
                                          wrote on last edited by
                                          #20

                                          Technically, the mouse only moves in straight horizontal and vertical motions. The only reason it "looks" like the mouse goes in a diagonal line is because the increments are smaller than your eye will pick up.

                                          I wasn't, now I am, then I won't be anymore.

                                          C 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups