当鼠标按键按下时,返回一次true,后面參数0是左键,1是右键,2是中键
if((0)) ("Pressed left click."); if((1)) ("Pressed right click."); if((2)) ("Pressed middle click.");
当鼠标按键按下时,返回true,可能多次,依据你鼠标按下的时间 ,后面參数0是左键,1是右键,2是中键
if((0)) ("Pressed left click."); if((1)) ("Pressed right click."); if((2)) ("Pressed middle click.");
当鼠标按键按下后弹起时,返回一次true,后面參数0是左键,1是右键,2是中键
if((0)) ("Pressed left click."); if((1)) ("Pressed right click."); if((2)) ("Pressed middle click.");