Use a generic mechanism to watch input device properties
This reduces code duplication and provides a generic way to monitor all relevant input device properties.
This reduces code duplication and provides a generic way to monitor all relevant input device properties.