X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fsball.h;h=4ef64e8e7ede3c03b39a0a5cdf6198ff48acf3b9;hb=HEAD;hp=67ff1cf4466cb164ca72490ef8d844b9207f9598;hpb=aeeaea66849f23d8dec42bb64c9a739846a835d9;p=sball diff --git a/src/sball.h b/src/sball.h index 67ff1cf..4ef64e8 100644 --- a/src/sball.h +++ b/src/sball.h @@ -5,5 +5,13 @@ struct sball; 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); + +void sball_button_test(void); #endif /* SBALL_H_ */