diff options
author | jmz <jmz@FreeBSD.org> | 1995-01-25 20:41:06 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1995-01-25 20:41:06 +0000 |
commit | c931c201ef09a7eed22d3c15b14e7fcdfeb40da1 (patch) | |
tree | c97686c7f99e8b291a39ab99351e86753f88a9e3 /sys/sys/joystick.h | |
parent | c00595ba565f6ddcedf271268dc6fa3714186f40 (diff) | |
download | FreeBSD-src-c931c201ef09a7eed22d3c15b14e7fcdfeb40da1.zip FreeBSD-src-c931c201ef09a7eed22d3c15b14e7fcdfeb40da1.tar.gz |
ioctls for the joystick driver
Diffstat (limited to 'sys/sys/joystick.h')
-rw-r--r-- | sys/sys/joystick.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/sys/joystick.h b/sys/sys/joystick.h new file mode 100644 index 0000000..2ba31a6 --- /dev/null +++ b/sys/sys/joystick.h @@ -0,0 +1,14 @@ +#ifndef _JOY_IOCTL_H_ +#define _JOY_IOCTL_H_ + +#include <sys/types.h> +#include <sys/ioctl.h> + +#define JOY_SETTIMEOUT _IOW('J', 1, int) /* set timeout */ +#define JOY_GETTIMEOUT _IOR('J', 2, int) /* get timeout */ +#define JOY_SET_X_OFFSET _IOW('J', 3, int) /* set offset on X-axis */ +#define JOY_SET_Y_OFFSET _IOW('J', 4, int) /* set offset on X-axis */ +#define JOY_GET_X_OFFSET _IOR('J', 5, int) /* get offset on X-axis */ +#define JOY_GET_Y_OFFSET _IOR('J', 6, int) /* get offset on Y-axis */ + +#endif /* _JOY_IOCTL_H_ */ |