X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fsball.h;h=507a0562d9ffcfe13cd2e9ca4884b51189be4022;hb=9c67b30c9aacfdd2bf783ed25848a152d73ea8b3;hp=67ff1cf4466cb164ca72490ef8d844b9207f9598;hpb=aeeaea66849f23d8dec42bb64c9a739846a835d9;p=sball diff --git a/src/sball.h b/src/sball.h index 67ff1cf..507a056 100644 --- a/src/sball.h +++ b/src/sball.h @@ -5,5 +5,11 @@ 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); #endif /* SBALL_H_ */