Subject: pkg/22462: add joystick support to SDL
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 08/13/2003 01:45:22
>Number:         22462
>Category:       pkg
>Synopsis:       SDL needs to support /dev/joy? style gameport joysticks
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 13 08:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
I tried defendguin (which I packaged) which uses SDL:

 Warning: Could not open joystick 1.
 The Simple DirectMedia error that occured was:
 /dev/joy0: USB_GET_REPORT_DESC: Device not configured

SDL needs to support /dev/joy? style gameport joysticks in addition
to USB ones.

>How-To-Repeat:
	
>Fix:
I found a patch for FreeBSD at
http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/devel/sdl12/files/patch-joystick%3a%3absd%3a%3aSDL_sysjoystick.c

It needs to be made more portable.
>Release-Note:
>Audit-Trail:
>Unformatted: