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

FreeBSD Manual Pages

  
 
  

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

NAME
     input_samplebase - Change coordinate system origo for a device

SYNOPSIS
     nil
     input_samplebase( devid, base_x, base_y, base_z )

DESCRIPTION
     This  is  primarily  needed for mouse devices when working absolute coordi-
     nates from a device in cases where it doesn't suffice to just offset  where
     a	cursor	is drawn. The perhaps easiest case where this might be needed is
     where mouse input should be locked to a surface and the  internal	tracking
     of the device should be shifted if it tries to go outside said surface.

SEE ALSO:
iodev				   August 2026		     input_samplebase(3)

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

home | help