struct sball *sball_open(const char *dev);
void sball_close(struct sball *sb);
+int sball_fd(struct sball *sb);
+int sball_read(struct sball *sb);
+
+int sball_axis(struct sball *sb, int axis);
+unsigned int sball_buttons(struct sball *sb);
+int sball_num_buttons(struct sball *sb);
#endif /* SBALL_H_ */