xev shows a description of each input event, in particular ButtonPress and ButtonReleasefor mouse clicks (you’ll also see a number of MotionNotify for mouse movements and other events). Then switch back to the terminal window and press Ctrl+ C. Move the mouse inside the xev window you’ll see a lot of stuff scroll by.