Subject: port-amd64/24264: NetBSD/amd64 has no joystick.h
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rkr@olib.org>
List: netbsd-bugs
Date: 01/28/2004 02:30:48
>Number:         24264
>Category:       port-amd64
>Synopsis:       NetBSD/amd64 has no joystick.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 28 08:31:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Richard Rauch
>Release:        NetBSD 1.6 (AMD64 running -current)
>Organization:
  "I probably don't know what I'm talking about."  http://www.olib.org/~rkr/
>Environment:
System: NetBSD prometheus 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 19:43:40 UTC 2002 autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
	...the above doesn't really matter; but the relavent machine
	is an AMD64, not this i386.  (^&
>Description:
	NetBSD/amd64 has a joy(4) interface and man-page, but lacks
	/usr/include/machine/joystick.h

	This causes, e.g., freeglut to fail to compile.
>How-To-Repeat:
	Install NetBSD/amd64 and look for "joystick.h".
>Fix:
	Due to the closeness of the architectures, and the desirability of
	a common API, I assume that the i386 header provides all that is
	required.  It should suffice to just copy the header over.

	I do not actually have a joystick, so I cannot comment on whether
	this causes code to abuse the interface.
>Release-Note:
>Audit-Trail:
>Unformatted: