Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
nudge_cursor(3)			 Arcan Lua API		       nudge_cursor(3)

NAME
       nudge_cursor - Move the mouse cursor relative to	its current position.

SYNOPSIS
       nil
       nudge_cursor( d_x, d_y, clamp )

DESCRIPTION
       if clamp	 is set	to a non- zero value (default: 0) the coordinates will
       NOT  be clamped to fit the screen.

EXAMPLE
       function	nudge_cursor0()
	     move_cursor(VRESW * 0.5, VRESH * 0.5);
	     print(cursor_position());
	     nudge_cursor(15, -15);
	     print(cursor_position());
       end

SEE ALSO:
image				 December 2021		       nudge_cursor(3)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | SEE ALSO:

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=nudge_cursor&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help