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
cc373223
Commit
cc373223
authored
Jan 26, 2017
by
Bruno Jesus
Committed by
Alexandre Julliard
Jan 30, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Fix GetEffectStatus for Linux when effect was not downloaded.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7ee40216
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
effect_linuxinput.c
dlls/dinput/effect_linuxinput.c
+6
-1
No files found.
dlls/dinput/effect_linuxinput.c
View file @
cc373223
...
...
@@ -234,11 +234,16 @@ static HRESULT WINAPI LinuxInputEffectImpl_GetEffectStatus(
LPDIRECTINPUTEFFECT
iface
,
LPDWORD
pdwFlags
)
{
TRACE
(
"(this=%p,%p)
\n
"
,
iface
,
pdwFlags
);
LinuxInputEffectImpl
*
This
=
impl_from_IDirectInputEffect
(
iface
);
TRACE
(
"(this=%p,%p)
\n
"
,
This
,
pdwFlags
);
if
(
!
pdwFlags
)
return
E_POINTER
;
if
(
This
->
effect
.
id
==
-
1
)
return
DIERR_NOTDOWNLOADED
;
/* linux sends the effect status through an event.
* that event is trapped by our parent joystick driver
* and there is no clean way to pass it back to us. */
...
...
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