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_capabilities(3) Arcan Lua API input_capabilities(3)

input_capabilities - query platform layer or target for input capabilities

captbl, ident
input_capabilities( vid:fsrv )

This function can be used to query the platform (default) or a frameserver (providing a valid fsrv argument) for its current set of input capabilities in terms of devices (both cases) and data types (frameserver only). The returned table is key indexed of booleans indicating whether the type is supported or not. A frameserver may update this mask for a segment at will. When the mask is changed, an "input_mask" event will be sent to the frameservers assigned event handler. This mask will be applied to samples provided through target_input . For the platform, the set may also change when devices are added and removed in response to a device appearing and removing. The set of provided or accepted devices may be zero, one or many of the following: "keyboard, "mouse", "game", "touch", "position", "orientation", "eyetracker". The set of accepted datatypes may be zero, one or many of the following: "analog", "digital", "translated", "touch", "eyes".

function input_capabilities0()
      for k,v in pairs(input_capabilities()) do
            print(k, v);
      end
end

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.