changeset 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 0136d21b7764
children 591b438ab94a
files src/joystick/darwin/SDL_sysjoystick.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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)
 									{