comparison 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
comparison
equal deleted inserted replaced
593:0136d21b7764 594:a71ce390adeb
308 case kHIDUsage_GD_Y: 308 case kHIDUsage_GD_Y:
309 case kHIDUsage_GD_Z: 309 case kHIDUsage_GD_Z:
310 case kHIDUsage_GD_Rx: 310 case kHIDUsage_GD_Rx:
311 case kHIDUsage_GD_Ry: 311 case kHIDUsage_GD_Ry:
312 case kHIDUsage_GD_Rz: 312 case kHIDUsage_GD_Rz:
313 case kHIDUsage_GD_Slider:
314 case kHIDUsage_GD_Dial:
315 case kHIDUsage_GD_Wheel:
313 element = (recElement *) NewPtrClear (sizeof (recElement)); 316 element = (recElement *) NewPtrClear (sizeof (recElement));
314 if (element) 317 if (element)
315 { 318 {
316 pDevice->axes++; 319 pDevice->axes++;
317 headElement = &(pDevice->firstAxis); 320 headElement = &(pDevice->firstAxis);