#
# HELP: SYNOPSIS:
# HELP:     register/mouse/autopilot_lm
# HELP:
# HELP: DESCRIPTION:
# HELP:     Toggle autopilot, if left and middle mouse button is pressed.
#
{ ISBOTH ${($root.global.pointer.mouse.buttonnum^$root.global.pointer.mouse.buttonstate)==5} 
	AUTO ^1
	QUIT
} ISBOTH 0 0
# Continue parsing, not both are pressed.
CECHO ${$root.handlerrc=0}
