Add capability of scanning input devices for a given device name
Remove stale debug print statement
Docstrings added