Commit Graph
8 Commits
Author SHA1 Message Date
Steve Checkoway 5e7ea06c5f Use IOHIDElementCookie which is really a void* rather than int. 2008-10-05 08:25:31 +00:00
Steve Checkoway 4f228d3a30 Use IsJoystick() and IsPump(). 2007-01-18 12:35:13 +00:00
Steve Checkoway 125fccc33c Simplify. Don't pass the button pressed bool along. This can be derived from the level every time. 2006-09-15 08:31:53 +00:00
Steve Checkoway b95f8b15e7 Unneeded header. 2006-08-05 01:08:45 +00:00
Chris Danford bf0cc13a47 Change GetDevicesAndDescriptions to fill in one vector instead of 2
Ignore changes in non-joystick devices when automapping
2006-02-27 17:51:27 +00:00
Steve Checkoway a63a1284fa Return -1 if no InputDevice numbers can be assigned to logical devices. 2006-02-27 00:21:14 +00:00
Steve Checkoway 3e72c0e002 Fix pump pad support. Second player untested but seems likely to work. 2006-02-25 14:58:14 +00:00
Steve Checkoway c4fde125e4 Basic support for the USB pump pad. It is not HID-compliant and reports strange values when buttons are pressed and released. In particular, it claims that it's values are in the range [0,1], yet actually returns values in the range [0,3]. Also, there are two instances where releasing two buttons sends the same report (UR and MID, as well as DL and DR).
I suspect this makes it pretty much impossible to use (although the guy with the pad has the glowing report of, "and it seemed to work OK") but without actually having a pad with which to test, it's about all I can do.
2006-02-24 13:29:15 +00:00