DeviceManager.addOnDeviceAdded

The ::device-added signal is emitted either when a new master pointer is created, or when a slave (Hardware) input device is plugged in.

class DeviceManager
gulong
addOnDeviceAdded
(
void delegate dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)