*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40197
This commit is contained in:
Sam Lantinga 2001-09-23 21:58:52 +00:00
parent d521252694
commit d7dcae3d87
3 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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/

View file

@ -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>
@ -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>