comparison src/joystick/darwin/SDL_sysjoystick.c @ 196:c4c4b221a5e5

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sun, 23 Sep 2001 21:58:52 +0000
parents 37e3ca9254c7
children ab4abaf66814
comparison
equal deleted inserted replaced
195:3669d47b07d3 196:c4c4b221a5e5
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@devolution.com 20 slouken@devolution.com
21 */ 21 */
22 22
23 /* SDL joystick driver for Darwn / MacOS X, based on the IOKit HID API */ 23 /* SDL joystick driver for Darwin / MacOS X, based on the IOKit HID API */
24 /* Written 2001 by Max Horn */ 24 /* Written 2001 by Max Horn */
25 25
26 #include <stdio.h> 26 #include <stdio.h>
27 #include <stdlib.h> 27 #include <stdlib.h>
28 #include <unistd.h> 28 #include <unistd.h>
31 #include <sysexits.h> 31 #include <sysexits.h>
32 #include <mach/mach.h> 32 #include <mach/mach.h>
33 #include <mach/mach_error.h> 33 #include <mach/mach_error.h>
34 #include <IOKit/IOKitLib.h> 34 #include <IOKit/IOKitLib.h>
35 #include <IOKit/IOCFPlugIn.h> 35 #include <IOKit/IOCFPlugIn.h>
36 #include <IOKit/IOUSBHIDParser.h> 36 #include <IOKit/hidsystem/IOHIDUsageTables.h>
37 #include <IOKit/hid/IOHIDLib.h> 37 #include <IOKit/hid/IOHIDLib.h>
38 #include <IOKit/hid/IOHIDKeys.h> 38 #include <IOKit/hid/IOHIDKeys.h>
39 #include <CoreFoundation/CoreFoundation.h> 39 #include <CoreFoundation/CoreFoundation.h>
40 40
41 #include "SDL_error.h" 41 #include "SDL_error.h"