Re: Add Xbox 360 Controller USB support

2013-10-21 Thread Martin Pieuchot
On 20/10/13(Sun) 12:09, Jeremy Evans wrote: > On 10/20 03:52, Martin Pieuchot wrote: > > [...] > > Thanks for responding. Here's a new diff that incorporates most of your > suggestions. Unfortunately, using the existing quirks infrastructure > doesn't work correctly, because the quirks API is ba

Re: Add Xbox 360 Controller USB support

2013-10-20 Thread Jeremy Evans
On 10/20 03:52, Martin Pieuchot wrote: > Hi Jeremy, > > On 18/10/13(Fri) 09:11, Jeremy Evans wrote: > > This was originally submitted by Joe Gidi in November 2010, based on a > > FreeBSD commit by Ed Schouten from back in December 2005. See > > http://marc.info/?l=openbsd-tech&m=128924886803756&w

Re: Add Xbox 360 Controller USB support

2013-10-20 Thread Tekk
On Fri, 18 Oct 2013 09:11:05 -0700 "Jeremy Evans" wrote: > Tested on amd64 using usbhidctl and some SDL-based emulators > (mednafen, snes9x-gtk, desmume). The controller works fine except > that the directional pad is not processed as a hat but as a series of > buttons (that usbhidctl sees but S

Re: Add Xbox 360 Controller USB support

2013-10-20 Thread Martin Pieuchot
Hi Jeremy, On 18/10/13(Fri) 09:11, Jeremy Evans wrote: > This was originally submitted by Joe Gidi in November 2010, based on a > FreeBSD commit by Ed Schouten from back in December 2005. See > http://marc.info/?l=openbsd-tech&m=128924886803756&w=2 for previous > thread. The only comment was fro

Add Xbox 360 Controller USB support

2013-10-18 Thread Jeremy Evans
This was originally submitted by Joe Gidi in November 2010, based on a FreeBSD commit by Ed Schouten from back in December 2005. See http://marc.info/?l=openbsd-tech&m=128924886803756&w=2 for previous thread. The only comment was from tedu@, that SMALL_KERNEL should be added, which I've done but

Re: Add Xbox 360 Controller USB support

2010-11-08 Thread Ted Unangst
On Mon, Nov 8, 2010 at 3:38 PM, Joe Gidi wrote: > This is taken pretty much straight from FreeBSD ( see > http://marc.info/?l=freebsd-commits-all&m=113600388101707&w=2 ). It is > tested and working on my amd64 box. Some usbhidctl output: At a minimum, should probably be inside ifdef SMALL_KERNEL

Re: Add Xbox 360 Controller USB support

2010-11-08 Thread Joe Gidi
Sorry, mail client messed up the inlining a bit. Let me try again... -- Joe Gidi j...@entropicblur.com patch for /usr/src/sys/dev/usb/usb.h --- usb.h.orig Mon Nov 8 01:58:09 2010 +++ usb.h Mon Nov 8 00:42:01 2010 @@ -486,7 +486,8 @@ #define UIPROTO_IRDA 0 #define U

Add Xbox 360 Controller USB support

2010-11-08 Thread Joe Gidi
This is taken pretty much straight from FreeBSD ( see http://marc.info/?l=freebsd-commits-all&m=113600388101707&w=2 ). It is tested and working on my amd64 box. Some usbhidctl output: Generic_Desktop:Game_Pad.Generic_Desktop:Pointer.Generic_Desktop:D-pad_Up=0 Generic_Desktop:Game_Pad.Generic_Desk