Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/sys/arch/netwinder/include Populate the netwinder inclu...



details:   https://anonhg.NetBSD.org/src/rev/ac124258cef5
branches:  nathanw_sa
changeset: 504634:ac124258cef5
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Apr 19 07:11:03 2001 +0000

description:
Populate the netwinder include directory.

diffstat:

 sys/arch/netwinder/include/frame.h    |   3 +++
 sys/arch/netwinder/include/joystick.h |  23 +++++++++++++++++++++++
 sys/arch/netwinder/include/rtc.h      |   3 +++
 3 files changed, 29 insertions(+), 0 deletions(-)

diffs (41 lines):

diff -r 7c289c0bc1ca -r ac124258cef5 sys/arch/netwinder/include/frame.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/frame.h        Thu Apr 19 07:11:03 2001 +0000
@@ -0,0 +1,3 @@
+/* $NetBSD: frame.h,v 1.1.10.2 2001/04/19 07:11:03 matt Exp $ */
+
+#include <arm/arm32/frame.h>
diff -r 7c289c0bc1ca -r ac124258cef5 sys/arch/netwinder/include/joystick.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/joystick.h     Thu Apr 19 07:11:03 2001 +0000
@@ -0,0 +1,23 @@
+/*     $NetBSD: joystick.h,v 1.1.10.2 2001/04/19 07:11:03 matt 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_ */
diff -r 7c289c0bc1ca -r ac124258cef5 sys/arch/netwinder/include/rtc.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/netwinder/include/rtc.h  Thu Apr 19 07:11:03 2001 +0000
@@ -0,0 +1,3 @@
+/* $NetBSD: rtc.h,v 1.1.10.2 2001/04/19 07:11:05 matt Exp $ */
+
+#include <arm/arm32/rtc.h>



Home | Main Index | Thread Index | Old Index