Added support for HID sliders wheels and dials on MacOS X
authorSam Lantinga <slouken@libsdl.org>
Tue, 04 Feb 2003 21:05:20 +0000
changeset 594 a71ce390adeb
parent 593 0136d21b7764
child 595 591b438ab94a
Added support for HID sliders wheels and dials on MacOS X
src/joystick/darwin/SDL_sysjoystick.c
--- 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)
 									{