done I think, time to test
[sball] / src / sball.h
index 797e132..507a056 100644 (file)
@@ -8,4 +8,8 @@ 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_ */