I am looking for some source code for interfacing the Sun mouse. What I want is some routines that can returns me the x and y positions of the mouse, keyboard and mouse events handler, and things like if the mouse buttons were pressed or not. Thank you. Joseph Yip