Screen library reference
Parent topic
:
Screen library reference
Devices (screen.h)
A device refers to an input device (e.g., keyboard, mouse, joystick, multi-touch display).
Screen device metric count types
Types of metric counts for devices
Screen device types
Types of devices.
Screen game button types
Types of game buttons
Screen input mode types
Types of input modes for devices and sessions
screen_device_t
A handle to a Screen device
screen_create_device_type()
Create a device of specified type to be associated with a context
screen_destroy_device()
Destroy an input device and free associated resources
screen_get_device_property_cv()
Retrieve the current value of the specified device property of type char
screen_get_device_property_iv()
Retrieve the current value of the specified device property of type integer
screen_get_device_property_llv()
Retrieve the current value of the specified device property of type
long
long
integer
screen_get_device_property_pv()
Retrieve the current value of the specified device property of type void*
screen_set_device_property_cv()
Set the value of the specified device property of type char
screen_set_device_property_iv()
Set the value of the specified device property of type integer
screen_set_device_property_llv()
Set the value of the specified device property of type
long
long
integer
screen_set_device_property_pv()
Set the value of the specified device property of type void*