|
|
| |
input_samplebase(3) |
Arcan Lua API |
input_samplebase(3) |
input_samplebase - Change coordinate system origo for a device
nil
input_samplebase( devid, base_x, base_y, base_z )
This is primarily needed for mouse devices when working absolute coordinates
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.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |