[InputDevice] fix syntax