Type Event Revision Release 2024.3703 Keywords inputDeviceStatus
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:
-- 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 )