title: API to list all connected devices?
body: <p>I want to list all connected devices <strong>programatically</strong>.Basically,what i am trying to do is to check how many devices are connected at <strong>USB port and PS2 port.</strong></p>