Maus-Achsen deaktivieren

  • Ersteller Ersteller UQnZIiMyWZXUGvHgPSckekai
  • Erstellt am Erstellt am
Status
Für weitere Antworten geschlossen.
U

UQnZIiMyWZXUGvHgPSckekai

Unregistriert
Hey-o Experten und solche die es gerne wären :P
Ich habe mir als Ersatz für den fehlenden Maustreiber mqiner Sharkoon Sharkforce das Programm xMousebuttoncontrol herunter geladen. Mit diesem wollte ich per Hotkey meine Maus-Achsen deaktiveren, sodass ich nicht veraimen kann. Das funktioniert auch auf dem Desktop und im Inventar, allerdings nicht in Mc. Sobald ich beide Achsen Sperre und anschließend meine Maus bewege, geht das Crosshair nach oben. Das einzelne Achsensperren funktioniert (wobei sich das Crosshair dann "kreisförmig" bewegt, was irgendwie komisch ist)...
Bitte helft mir :(

LG Fishi

PS: Eine Bildschirmübertragung ist auch möglich c:
 
Mit AutoHotkey und dem beliegendem Script lässt sich die Y-Achse blocken mit der Taste "G".

Code:
;;    Press G at desired Vertical position.  Hold it down while moving
;;      the mouse and every 0.2 seconds the mouse will be moved to the
;;         current Horizontal position (not changed), but Y will be returned
;;      to the original Y.  Can be used to draw a straight, horizontal line.
;;

NowDrawing = 0 

G::                            ; hold down G to constrain the Y axis
{                                    ; another key could be used for Vertical lines
If Not NowDrawing                ; determine whether the G key has just been pressed
{
    MouseGetPos, , MouseY        ; if yes, save the Y position
    NowDrawing = 1                ; and indicate that we are now drawing a line
    SetTimer, ConstrainY, 10    ; call the routine below every 0.2 seconds
    Return
}

ConstrainY:
If (GetKeyState("G", "P"))        ; called every .2 seconds, check whether G still pressed
{   
    MouseGetPos, MouseX            ; if yes, get the current horizontal position
    MouseMove, MouseX, MouseY    ;   and move the mouse to that X, and the 'rememberd' Y
    Return
}   
Else
{
    SetTimer, ConstrainY, Off    ; if the G key has been released, stop running this routine
    NowDrawing = 0                ; next time G is pressed indicates to start over
    Tooltip                        ; get rid of the tooltip
    Return
}
Return                            ; this is probably not needed
}
Hoffe ich konnte dir helfen,
Kond.
 
Status
Für weitere Antworten geschlossen.

Soziale Medien

  • X
  • TikTok

Über uns

  • GommeHD.net ist einer der größten Minecraft-Server der Welt. Dir gefällt unser Server? Dann unterstütze uns durch einen Kauf im Shop!
  • Shop