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 594a71ce390adeb
parent 593 0136d21b7764
child 595 591b438ab94a
Added support for HID sliders wheels and dials on MacOS X
src/joystick/darwin/SDL_sysjoystick.c
     1.1 --- a/src/joystick/darwin/SDL_sysjoystick.c	Tue Feb 04 21:01:03 2003 +0000
     1.2 +++ b/src/joystick/darwin/SDL_sysjoystick.c	Tue Feb 04 21:05:20 2003 +0000
     1.3 @@ -310,6 +310,9 @@
     1.4  								case kHIDUsage_GD_Rx:
     1.5  								case kHIDUsage_GD_Ry:
     1.6  								case kHIDUsage_GD_Rz:
     1.7 +								case kHIDUsage_GD_Slider:
     1.8 +								case kHIDUsage_GD_Dial:
     1.9 +								case kHIDUsage_GD_Wheel:
    1.10  									element = (recElement *) NewPtrClear (sizeof (recElement));
    1.11  									if (element)
    1.12  									{