*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Sun, 23 Sep 2001 21:58:52 +0000
changeset 196c4c4b221a5e5
parent 195 3669d47b07d3
child 197 ef78524e5f59
*** empty log message ***
configure.in
src/joystick/darwin/Makefile.am
src/joystick/darwin/SDL_sysjoystick.c
     1.1 --- a/configure.in	Sun Sep 23 21:10:30 2001 +0000
     1.2 +++ b/configure.in	Sun Sep 23 21:58:52 2001 +0000
     1.3 @@ -2084,6 +2084,7 @@
     1.4          if test x$enable_joystick = xyes; then
     1.5              JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS darwin"
     1.6              JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS darwin/libjoystick_darwin.la"
     1.7 +            SDL_LIBS="$SDL_LIBS -framework IOKit"
     1.8          fi
     1.9          # Set up files for the cdrom library
    1.10          if test x$enable_cdrom = xyes; then
     2.1 --- a/src/joystick/darwin/Makefile.am	Sun Sep 23 21:10:30 2001 +0000
     2.2 +++ b/src/joystick/darwin/Makefile.am	Sun Sep 23 21:58:52 2001 +0000
     2.3 @@ -6,3 +6,5 @@
     2.4  
     2.5  # The SDL joystick driver sources
     2.6  SRCS =  SDL_sysjoystick.c
     2.7 +
     2.8 +AM_CPPFLAGS = -no-cpp-precomp -I/System/Library/Frameworks/Kernel.framework/Headers/
     3.1 --- a/src/joystick/darwin/SDL_sysjoystick.c	Sun Sep 23 21:10:30 2001 +0000
     3.2 +++ b/src/joystick/darwin/SDL_sysjoystick.c	Sun Sep 23 21:58:52 2001 +0000
     3.3 @@ -20,7 +20,7 @@
     3.4  	slouken@devolution.com
     3.5  */
     3.6  
     3.7 -/* SDL joystick driver for Darwn / MacOS X, based on the IOKit HID API */
     3.8 +/* SDL joystick driver for Darwin / MacOS X, based on the IOKit HID API */
     3.9  /* Written 2001 by Max Horn */
    3.10  
    3.11  #include <stdio.h>
    3.12 @@ -33,7 +33,7 @@
    3.13  #include <mach/mach_error.h>
    3.14  #include <IOKit/IOKitLib.h>
    3.15  #include <IOKit/IOCFPlugIn.h>
    3.16 -#include <IOKit/IOUSBHIDParser.h>
    3.17 +#include <IOKit/hidsystem/IOHIDUsageTables.h>
    3.18  #include <IOKit/hid/IOHIDLib.h>
    3.19  #include <IOKit/hid/IOHIDKeys.h>
    3.20  #include <CoreFoundation/CoreFoundation.h>