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				   August 2026			 nudge_cursor(3)

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

home | help