FreeBSD Manual Pages
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 coor- dinates 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 in- ternal tracking of the device should be shifted if it tries to go out- side said surface. SEE ALSO: iodev April 2025 input_samplebase(3)
NAME | SYNOPSIS | DESCRIPTION | SEE ALSO:
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+14.3.quarterly>