summaryrefslogtreecommitdiffstats
path: root/sys/sys/joystick.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-05 20:02:19 +0000
committerpeter <peter@FreeBSD.org>1999-12-05 20:02:19 +0000
commit1dab24f2833c782b1a8539f3be0435f750f97616 (patch)
treece55670613f294b15b86a889fe81d950dfc87fb6 /sys/sys/joystick.h
parentc8780c9c32e8026b30fcd0b9fe602e0fa91027c6 (diff)
downloadFreeBSD-src-1dab24f2833c782b1a8539f3be0435f750f97616.zip
FreeBSD-src-1dab24f2833c782b1a8539f3be0435f750f97616.tar.gz
Switch over to using the generic joy driver
Diffstat (limited to 'sys/sys/joystick.h')
-rw-r--r--sys/sys/joystick.h36
1 files changed, 33 insertions, 3 deletions
diff --git a/sys/sys/joystick.h b/sys/sys/joystick.h
index 051d991e..b841f35 100644
--- a/sys/sys/joystick.h
+++ b/sys/sys/joystick.h
@@ -1,5 +1,35 @@
-#ifndef _MACHINE_JOYSTICK_H_
-#define _MACHINE_JOYSTICK_H_
+/*-
+ * Copyright (c) 1995 Jean-Marc Zucconi
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer
+ * in this position and unchanged.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. The name of the author may not be used to endorse or promote products
+ * derived from this software withough specific prior written permission
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * $FreeBSD$
+ */
+
+#ifndef _SYS_JOYSTICK_H_
+#define _SYS_JOYSTICK_H_
#include <sys/ioccom.h>
@@ -17,4 +47,4 @@ struct joystick {
#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 /* !_MACHINE_JOYSTICK_H_ */
+#endif /* !_SYS_JOYSTICK_H_ */
OpenPOWER on IntegriCloud