just include <sys/joystick.h>

This commit is contained in:
drochner 2004-07-02 17:15:10 +00:00
parent 2706519f5d
commit 12abfacf0b
8 changed files with 16 additions and 177 deletions

View File

@ -1,23 +1,3 @@
/* $NetBSD: joystick.h,v 1.1 2001/10/05 22:27:51 reinoud Exp $ */
/* $NetBSD: joystick.h,v 1.2 2004/07/02 17:15:10 drochner Exp $ */
#ifndef _JOY_IOCTL_H_
#define _JOY_IOCTL_H_
#include <sys/types.h>
#include <sys/ioctl.h>
struct joystick {
int x;
int y;
int b1;
int b2;
};
#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_ */
#include <sys/joystick.h>

View File

@ -1,24 +1,3 @@
/* $NetBSD: joystick.h,v 1.2 2000/02/22 11:26:02 soda Exp $ */
/* $OpenBSD: joystick.h,v 1.1 1998/05/05 05:44:43 imp Exp $ */
/* NetBSD: joystick.h,v 1.1 1996/03/27 19:18:56 perry Exp */
/* $NetBSD: joystick.h,v 1.3 2004/07/02 17:15:10 drochner Exp $ */
#ifndef _JOY_IOCTL_H_
#define _JOY_IOCTL_H_
#include <sys/ioccom.h>
struct joystick {
int x;
int y;
int b1;
int b2;
};
#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_ */
#include <sys/joystick.h>

View File

@ -1,23 +1,3 @@
/* $NetBSD: joystick.h,v 1.1 2001/06/08 22:23:01 chris Exp $ */
/* $NetBSD: joystick.h,v 1.2 2004/07/02 17:15:10 drochner Exp $ */
#ifndef _JOY_IOCTL_H_
#define _JOY_IOCTL_H_
#include <sys/types.h>
#include <sys/ioctl.h>
struct joystick {
int x;
int y;
int b1;
int b2;
};
#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_ */
#include <sys/joystick.h>

View File

@ -1,23 +1,3 @@
/* $NetBSD: joystick.h,v 1.1 2001/09/05 04:53:40 matt Exp $ */
/* $NetBSD: joystick.h,v 1.2 2004/07/02 17:15:10 drochner Exp $ */
#ifndef _JOY_IOCTL_H_
#define _JOY_IOCTL_H_
#include <sys/types.h>
#include <sys/ioctl.h>
struct joystick {
int x;
int y;
int b1;
int b2;
};
#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_ */
#include <sys/joystick.h>

View File

@ -1,23 +1,3 @@
/* $NetBSD: joystick.h,v 1.1 1996/03/27 19:18:56 perry Exp $ */
/* $NetBSD: joystick.h,v 1.2 2004/07/02 17:15:10 drochner Exp $ */
#ifndef _JOY_IOCTL_H_
#define _JOY_IOCTL_H_
#include <sys/types.h>
#include <sys/ioctl.h>
struct joystick {
int x;
int y;
int b1;
int b2;
};
#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_ */
#include <sys/joystick.h>

View File

@ -1,23 +1,3 @@
/* $NetBSD: joystick.h,v 1.1 2001/04/19 07:11:02 matt Exp $ */
/* $NetBSD: joystick.h,v 1.2 2004/07/02 17:15:10 drochner Exp $ */
#ifndef _JOY_IOCTL_H_
#define _JOY_IOCTL_H_
#include <sys/types.h>
#include <sys/ioctl.h>
struct joystick {
int x;
int y;
int b1;
int b2;
};
#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_ */
#include <sys/joystick.h>

View File

@ -1,23 +1,3 @@
/* $NetBSD: joystick.h,v 1.1 2000/02/29 15:21:32 nonaka Exp $ */
/* $NetBSD: joystick.h,v 1.2 2004/07/02 17:15:10 drochner Exp $ */
#ifndef _JOY_IOCTL_H_
#define _JOY_IOCTL_H_
#include <sys/types.h>
#include <sys/ioctl.h>
struct joystick {
int x;
int y;
int b1;
int b2;
};
#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_ */
#include <sys/joystick.h>

View File

@ -1,23 +1,3 @@
/* $NetBSD: joystick.h,v 1.1 2002/02/10 01:57:24 thorpej Exp $ */
/* $NetBSD: joystick.h,v 1.2 2004/07/02 17:15:10 drochner Exp $ */
#ifndef _JOY_IOCTL_H_
#define _JOY_IOCTL_H_
#include <sys/types.h>
#include <sys/ioctl.h>
struct joystick {
int x;
int y;
int b1;
int b2;
};
#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_ */
#include <sys/joystick.h>