10 struct sball_event_motion {
15 struct sball_event_button {
22 typedef union sball_event {
24 struct sball_event_motion motion;
25 struct sball_event_button button;
29 void sball_shutdown(void);
31 int sball_getdev(void);
33 int sball_pending(void);
34 int sball_getevent(sball_event *ev);