Displaying 1 result from an estimated 1 matches for "pointerright".
2011 Apr 07
0
python for game menus needing mouse but with mwo=force
...e(mouse['y'])
# custom keys to control mouse
key_up = 80
key_down = 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']...