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
ac3e24c5
Commit
ac3e24c5
authored
Jan 06, 2009
by
Andrew Fenn
Committed by
Alexandre Julliard
Jan 07, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xinput1_3: Added stub code for XInputGetKeystroke.
parent
3ad7f772
Hide 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 @
ac3e24c5
@ stdcall XInputEnable(long)
@ stdcall XInputSetState(long ptr)
@ stdcall XInputGetState(long ptr)
@ st
ub XInputGetKeystroke #
(long long ptr)
@ st
dcall XInputGetKeystroke
(long long ptr)
@ stdcall XInputGetCapabilities(long long ptr)
@ stub XInputGetDSoundAudioDeviceGuids #(long ptr ptr)
@ stub XInputGetBatteryInformation
dlls/xinput1_3/xinput1_3_main.c
View file @
ac3e24c5
...
...
@@ -79,6 +79,18 @@ DWORD WINAPI XInputGetState(DWORD dwUserIndex, XINPUT_STATE* pState)
return
ERROR_BAD_ARGUMENTS
;
}
DWORD
WINAPI
XInputGetKeystroke
(
DWORD
dwUserIndex
,
DWORD
dwReserve
,
PXINPUT_KEYSTROKE
pKeystroke
)
{
FIXME
(
"(%d %d %p) Stub!
\n
"
,
dwUserIndex
,
dwReserve
,
pKeystroke
);
if
(
dwUserIndex
<
XUSER_MAX_COUNT
)
{
return
ERROR_DEVICE_NOT_CONNECTED
;
/* If controller exists then return ERROR_SUCCESS */
}
return
ERROR_BAD_ARGUMENTS
;
}
DWORD
WINAPI
XInputGetCapabilities
(
DWORD
dwUserIndex
,
DWORD
dwFlags
,
XINPUT_CAPABILITIES
*
pCapabilities
)
{
FIXME
(
"(%d %d %p)
\n
"
,
dwUserIndex
,
dwFlags
,
pCapabilities
);
...
...
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