Displaying 1 result from an estimated 1 matches for "pointerup".
Did you mean:
pointer
2011 Apr 07
0
python for game menus needing mouse but with mwo=force
...88
key_left = 83
key_right = 85
key_click = 84
key_exit = 104
keys = [key_up,key_down,key_left,key_right,key_click,key_exit]
smallstep = 5
def pointerLeft():
mouse['x'] = mouse['x'] - smallstep
def pointerRight():
mouse['x'] = mouse['x'] + smallstep
def pointerUp():
mouse['y'] = mouse['y'] - smallstep
def pointerDown():
mouse['y'] = mouse['y'] + smallstep
def pointerClick():
os.system("xdotool mousemove " + str(mouse['x']) + " " + str(mouse['y']) + " click 1")
def...