Merge "InputDevice warning fixes and make warnigs into Error"