diff src/joystick/darwin/SDL_sysjoystick.c @ 594:a71ce390adeb

Added support for HID sliders wheels and dials on MacOS X
author Sam Lantinga <slouken@libsdl.org>
date Tue, 04 Feb 2003 21:05:20 +0000
parents 4503f9475cf2
children 86e0385b8f96
line wrap: on
line diff
--- a/src/joystick/darwin/SDL_sysjoystick.c	Tue Feb 04 21:01:03 2003 +0000
+++ b/src/joystick/darwin/SDL_sysjoystick.c	Tue Feb 04 21:05:20 2003 +0000
@@ -310,6 +310,9 @@
 								case kHIDUsage_GD_Rx:
 								case kHIDUsage_GD_Ry:
 								case kHIDUsage_GD_Rz:
+								case kHIDUsage_GD_Slider:
+								case kHIDUsage_GD_Dial:
+								case kHIDUsage_GD_Wheel:
 									element = (recElement *) NewPtrClear (sizeof (recElement));
 									if (element)
 									{