This is because I do not want the mouse to be able to move along the Y axis while Up or Down are being pressed(though the X axis needs to work like normal.) Unfortunately, physical movement introduced by mouse does not complement what I am trying to do with this script. While the up key is being pressed, the cursor moves up(causing the aircraft to do a forward loop). While the down key is being pressed, the cursor moves down(causing the aircraft to do a backward loop). I am trying to stop the mouse from interfering with the pitch, while I am holding down W and S I would also like for Key W and Key S = Pitch This is essentially for flight in a game, and here are the controls. So even if I run out of space on my screen to move my mouse upward, the application still knows that I am moving my mouse upward, and will return ↑, as expected.įor the sake of simplicity, is there any other way to completely disable/ignore physical input along the Y axis of the mouse? This application also detects movement along the clipped area of the screen. For example moving the mouse Up will return ↑, while moving the mouse Down will return ↓. I am running an application which detects mouse movements and converts those movements into key presses. I have tested ClipCursor, and it works as intended, yet does not work for what I need it to do.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |