inputDeviceStatus

Type Event
Revision Current Public Release (2017.3068)
Keywords inputDeviceStatus

Overview

This event indicates that an input device's status has changed, such as when an input device has been connected or disconnected from the system or when the device's configuration has been changed.

This event can be used for the following scenarios:

Properties

Example

-- Called when one input device's status has been changed
local function onInputDeviceStatusChanged( event )
    -- handle the input device change
end

-- Add the input device status event listener
Runtime:addEventListener( "inputDeviceStatus", onInputDeviceStatusChanged )