Attempts to auto detect input device changes

Codes doesn’t work, even though it is a near replica of the Sample code, because HUD uses ARC