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
2e71742d
Commit
2e71742d
authored
Jan 01, 2009
by
Andrew Fenn
Committed by
Alexandre Julliard
Jan 02, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xinput1_3: Added stub XInputSetState.
parent
954820d0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
xinput1_3.spec
dlls/xinput1_3/xinput1_3.spec
+1
-1
xinput1_3_main.c
dlls/xinput1_3/xinput1_3_main.c
+12
-0
No files found.
dlls/xinput1_3/xinput1_3.spec
View file @
2e71742d
@ stdcall XInputEnable(long)
@ st
ub XInputSetState #
(long ptr)
@ st
dcall XInputSetState
(long ptr)
@ stdcall XInputGetState(long ptr)
@ stub XInputGetKeystroke #(long long ptr)
@ stdcall XInputGetCapabilities(long long ptr)
...
...
dlls/xinput1_3/xinput1_3_main.c
View file @
2e71742d
...
...
@@ -55,6 +55,18 @@ void WINAPI XInputEnable(BOOL enable)
FIXME
(
"(%d) Stub!
\n
"
,
enable
);
}
DWORD
WINAPI
XInputSetState
(
DWORD
dwUserIndex
,
XINPUT_VIBRATION
*
pVibration
)
{
FIXME
(
"(%d %p) Stub!
\n
"
,
dwUserIndex
,
pVibration
);
if
(
dwUserIndex
<
XUSER_MAX_COUNT
)
{
return
ERROR_DEVICE_NOT_CONNECTED
;
/* If controller exists then return ERROR_SUCCESS */
}
return
ERROR_BAD_ARGUMENTS
;
}
DWORD
WINAPI
XInputGetState
(
DWORD
dwUserIndex
,
XINPUT_STATE
*
pState
)
{
FIXME
(
"(%u %p)
\n
"
,
dwUserIndex
,
pState
);
...
...
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