input: listen devices add/remove
inputdevices: modify the codes of parsing device changed