Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
225a494d
Commit
225a494d
authored
Mar 10, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Mar 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Add Mac OS/X joystick support.
parent
a36b408f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
1 deletion
+11
-1
configure
configure
+2
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/dinput/Makefile.in
+2
-0
dinput_main.c
dlls/dinput/dinput_main.c
+2
-1
dinput_private.h
dlls/dinput/dinput_private.h
+1
-0
joystick_osx.c
dlls/dinput/joystick_osx.c
+0
-0
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
225a494d
...
...
@@ -6078,12 +6078,14 @@ done
for
ac_header
in
\
AudioUnit/AudioUnit.h
\
Carbon/Carbon.h
\
CoreAudio/CoreAudio.h
\
DiskArbitration/DiskArbitration.h
\
IOKit/IOKitLib.h
\
IOKit/hid/IOHIDLib.h
\
alias.h
\
alsa/asoundlib.h
\
arpa/inet.h
\
...
...
configure.ac
View file @
225a494d
...
...
@@ -263,6 +263,7 @@ AC_CHECK_HEADERS(\
CoreAudio/CoreAudio.h \
DiskArbitration/DiskArbitration.h \
IOKit/IOKitLib.h \
IOKit/hid/IOHIDLib.h \
alias.h \
alsa/asoundlib.h \
arpa/inet.h \
...
...
dlls/dinput/Makefile.in
View file @
225a494d
...
...
@@ -5,6 +5,7 @@ VPATH = @srcdir@
MODULE
=
dinput.dll
IMPORTLIB
=
dinput
IMPORTS
=
dxguid uuid ole32 user32 advapi32 kernel32
EXTRALIBS
=
@CARBONLIB@ @IOKITLIB@
C_SRCS
=
\
data_formats.c
\
...
...
@@ -14,6 +15,7 @@ C_SRCS = \
joystick.c
\
joystick_linux.c
\
joystick_linuxinput.c
\
joystick_osx.c
\
keyboard.c
\
mouse.c
\
regsvr.c
...
...
dlls/dinput/dinput_main.c
View file @
225a494d
...
...
@@ -79,7 +79,8 @@ static const struct dinput_device *dinput_devices[] =
&
mouse_device
,
&
keyboard_device
,
&
joystick_linuxinput_device
,
&
joystick_linux_device
&
joystick_linux_device
,
&
joystick_osx_device
};
#define NB_DINPUT_DEVICES (sizeof(dinput_devices)/sizeof(dinput_devices[0]))
...
...
dlls/dinput/dinput_private.h
View file @
225a494d
...
...
@@ -58,6 +58,7 @@ extern const struct dinput_device mouse_device;
extern
const
struct
dinput_device
keyboard_device
;
extern
const
struct
dinput_device
joystick_linux_device
;
extern
const
struct
dinput_device
joystick_linuxinput_device
;
extern
const
struct
dinput_device
joystick_osx_device
;
extern
void
check_dinput_hooks
(
LPDIRECTINPUTDEVICE8A
);
typedef
int
(
*
DI_EVENT_PROC
)(
LPDIRECTINPUTDEVICE8A
,
WPARAM
,
LPARAM
);
...
...
dlls/dinput/joystick_osx.c
0 → 100644
View file @
225a494d
This diff is collapsed.
Click to expand it.
include/config.h.in
View file @
225a494d
...
...
@@ -255,6 +255,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <IOKit/hid/IOHIDLib.h> header file. */
#undef HAVE_IOKIT_HID_IOHIDLIB_H
/* Define to 1 if you have the <IOKit/IOKitLib.h> header file. */
#undef HAVE_IOKIT_IOKITLIB_H
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment