Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.65 KB

File metadata and controls

28 lines (22 loc) · 1.65 KB
uid input-system-devices-scripting

Devices (scripting)

This section explains how to work with InputDevice instances from script.

If you only need to get a device reference and read control values, refer to Read devices directly. For hardware support by platform, refer to Supported devices reference.

Topic Description
Device descriptions Learn about InputDeviceDescription and how devices are reported when they are discovered.
Device capabilities Learn about capability strings attached to device descriptions.
Device matching Learn to match descriptions to layouts using InputDeviceMatcher.
Device lifecycle Learn to manage devices throughout their life.
Native devices Learn how to tell native backend devices apart from devices you create from script, and supply layouts when hardware is discovered.
Device IDs Learn about session-unique IDs.
Device usages Learn to set and query device usages.
Device commands Learn to send commands to devices.
Device states Monitor and synthesize a device state change.
Working with devices Learn to monitor connected devices, and add or remove devices manually.

Additional resources