title: How can I know which of the /dev/input/eventX (X=0..7) have the Linux input stream?
body: <p>I am trying to capture linux keyboard/mouse input, and I am reading events from like <code>/dev/input/event2</code>. But it seems the input are sometimes directed to <code>/dev/input/event2</code>, sometimes to <code>/dev/input/event3</code>. I wonder if there is a place I can find out which of the stream has the input? </p>