support to multiple input devices