GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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.

June 2022 iodev

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.