Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
*** empty log message ***
  • Loading branch information
slouken committed Sep 23, 2001
1 parent e897992 commit 8e68a6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions configure.in
Expand Up @@ -2084,6 +2084,7 @@ case "$target" in
if test x$enable_joystick = xyes; then
JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS darwin"
JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS darwin/libjoystick_darwin.la"
SDL_LIBS="$SDL_LIBS -framework IOKit"
fi
# Set up files for the cdrom library
if test x$enable_cdrom = xyes; then
Expand Down
2 changes: 2 additions & 0 deletions src/joystick/darwin/Makefile.am
Expand Up @@ -6,3 +6,5 @@ libjoystick_darwin_la_SOURCES = $(SRCS)

# The SDL joystick driver sources
SRCS = SDL_sysjoystick.c

AM_CPPFLAGS = -no-cpp-precomp -I/System/Library/Frameworks/Kernel.framework/Headers/
4 changes: 2 additions & 2 deletions src/joystick/darwin/SDL_sysjoystick.c
Expand Up @@ -20,7 +20,7 @@
slouken@devolution.com
*/

/* SDL joystick driver for Darwn / MacOS X, based on the IOKit HID API */
/* SDL joystick driver for Darwin / MacOS X, based on the IOKit HID API */
/* Written 2001 by Max Horn */

#include <stdio.h>
Expand All @@ -33,7 +33,7 @@
#include <mach/mach_error.h>
#include <IOKit/IOKitLib.h>
#include <IOKit/IOCFPlugIn.h>
#include <IOKit/IOUSBHIDParser.h>
#include <IOKit/hidsystem/IOHIDUsageTables.h>
#include <IOKit/hid/IOHIDLib.h>
#include <IOKit/hid/IOHIDKeys.h>
#include <CoreFoundation/CoreFoundation.h>
Expand Down

0 comments on commit 8e68a6f

Please sign in to comment.