Displaying 1 result from an estimated 1 matches for "pointerclick".
Did you mean:
point&click
2011 Apr 07
0
python for game menus needing mouse but with mwo=force
...nterLeft():
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 handle_event(aEvent):
keycode = aEvent.detail
if aEvent.type == X.KeyPress:
# smaller mouse jumps from keyboard
if keycode == key...