Make sure input device exists before setting its parameters