Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
68ede59f
Commit
68ede59f
authored
Nov 10, 2008
by
Andrew Fenn
Committed by
Alexandre Julliard
Nov 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xinput1_1: Initial implementation.
parent
c4cd3bc7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
96 additions
and
0 deletions
+96
-0
configure
configure
+9
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/xinput1_1/Makefile.in
+15
-0
version.rc
dlls/xinput1_1/version.rc
+27
-0
xinput1_1.spec
dlls/xinput1_1/xinput1_1.spec
+5
-0
xinput1_1_main.c
dlls/xinput1_1/xinput1_1_main.c
+39
-0
No files found.
configure
View file @
68ede59f
...
...
@@ -26834,6 +26834,14 @@ dlls/wtsapi32/Makefile: dlls/wtsapi32/Makefile.in dlls/Makedll.rules"
ac_config_files
=
"
$ac_config_files
dlls/wtsapi32/Makefile"
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
dlls/xinput1_1/Makefile"
test
"x
$enable_xinput1_1
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
xinput1_1"
ALL_MAKEFILE_DEPENDS
=
"
$ALL_MAKEFILE_DEPENDS
dlls/xinput1_1/Makefile: dlls/xinput1_1/Makefile.in dlls/Makedll.rules"
ac_config_files
=
"
$ac_config_files
dlls/xinput1_1/Makefile"
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
dlls/xinput1_3/Makefile"
test
"x
$enable_xinput1_3
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
xinput1_3"
...
...
@@ -28381,6 +28389,7 @@ do
"dlls/ws2_32/tests/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/ws2_32/tests/Makefile" ;;
"dlls/wsock32/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/wsock32/Makefile" ;;
"dlls/wtsapi32/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/wtsapi32/Makefile" ;;
"dlls/xinput1_1/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/xinput1_1/Makefile" ;;
"dlls/xinput1_3/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/xinput1_3/Makefile" ;;
"dlls/xinput9_1_0/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/xinput9_1_0/Makefile" ;;
"documentation/Makefile") CONFIG_FILES="
$CONFIG_FILES
documentation/Makefile" ;;
...
...
configure.ac
View file @
68ede59f
...
...
@@ -2094,6 +2094,7 @@ WINE_CONFIG_MAKEFILE([dlls/ws2_32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL
WINE_CONFIG_MAKEFILE([dlls/ws2_32/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS])
WINE_CONFIG_MAKEFILE([dlls/wsock32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/wtsapi32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/xinput1_1/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/xinput1_3/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/xinput9_1_0/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([documentation/Makefile],[Make.rules],[],[ALL_TOP_DIRS])
...
...
dlls/xinput1_1/Makefile.in
0 → 100644
View file @
68ede59f
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
xinput1_1.dll
IMPORTS
=
kernel32
C_SRCS
=
\
xinput1_1_main.c
RC_SRCS
=
version.rc
@MAKE_DLL_RULES@
@DEPENDENCIES@
# everything below this line is overwritten by make depend
dlls/xinput1_1/version.rc
0 → 100644
View file @
68ede59f
/*
* The Wine project - Xinput Joystick Library
* Copyright 2008 Andrew Fenn
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WINE_FILEDESCRIPTION_STR "Wine Common Controller API"
#define WINE_FILENAME_STR "xinput1_1.dll"
#define WINE_FILEVERSION 9,12,589,0000
#define WINE_FILEVERSION_STR "9.12.589.0000"
#define WINE_PRODUCTVERSION 9,12,589,0000
#define WINE_PRODUCTVERSION_STR "9.12"
#include "wine/wine_common_ver.rc"
dlls/xinput1_1/xinput1_1.spec
0 → 100644
View file @
68ede59f
@ stdcall XInputEnable(long) xinput1_3.XInputEnable
@ stdcall XInputGetCapabilities(long long ptr) xinput1_3.XInputGetCapabilities
@ stdcall XInputGetDSoundAudioDeviceGuids(long ptr ptr) xinput1_3.XInputGetDSoundAudioDeviceGuids
@ stdcall XInputSetState(long ptr) xinput1_3.XInputSetState
@ stdcall XInputGetState(long ptr) xinput1_3.XInputGetState
dlls/xinput1_1/xinput1_1_main.c
0 → 100644
View file @
68ede59f
/*
* The Wine project - Xinput Joystick Library
* Copyright 2008 Andrew Fenn
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
{
switch
(
reason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
inst
);
break
;
case
DLL_PROCESS_DETACH
:
break
;
}
return
TRUE
;
}
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