number of input devices may be zero