[InputDevice] fix syntax.