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
b1eb3c30
Commit
b1eb3c30
authored
Sep 07, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 07, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings for no force feedback case.
parent
c50ef541
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
joystick_linuxinput.c
dlls/dinput/joystick_linuxinput.c
+2
-2
No files found.
dlls/dinput/joystick_linuxinput.c
View file @
b1eb3c30
...
...
@@ -1198,6 +1198,7 @@ static HRESULT WINAPI JoystickAImpl_EnumEffects(LPDIRECTINPUTDEVICE8A iface,
LPVOID
pvRef
,
DWORD
dwEffType
)
{
#ifdef HAVE_STRUCT_FF_EFFECT_DIRECTION
DIEFFECTINFOA
dei
;
/* feif */
DWORD
type
=
DIEFT_GETTYPE
(
dwEffType
);
JoystickImpl
*
This
=
(
JoystickImpl
*
)
iface
;
...
...
@@ -1205,7 +1206,6 @@ static HRESULT WINAPI JoystickAImpl_EnumEffects(LPDIRECTINPUTDEVICE8A iface,
TRACE
(
"(this=%p,%p,%ld) type=%ld fd=%d
\n
"
,
This
,
pvRef
,
dwEffType
,
type
,
xfd
);
#ifdef HAVE_STRUCT_FF_EFFECT_DIRECTION
dei
.
dwSize
=
sizeof
(
DIEFFECTINFOA
);
/* We need to return something even if we're not yet acquired */
...
...
@@ -1280,6 +1280,7 @@ static HRESULT WINAPI JoystickWImpl_EnumEffects(LPDIRECTINPUTDEVICE8W iface,
LPVOID
pvRef
,
DWORD
dwEffType
)
{
#ifdef HAVE_STRUCT_FF_EFFECT_DIRECTION
/* seems silly to duplicate all this code but all the structures and functions
* are actually different (A/W) */
DIEFFECTINFOW
dei
;
/* feif */
...
...
@@ -1289,7 +1290,6 @@ static HRESULT WINAPI JoystickWImpl_EnumEffects(LPDIRECTINPUTDEVICE8W iface,
TRACE
(
"(this=%p,%p,%ld) type=%ld fd=%d
\n
"
,
This
,
pvRef
,
dwEffType
,
type
,
xfd
);
#ifdef HAVE_STRUCT_FF_EFFECT_DIRECTION
dei
.
dwSize
=
sizeof
(
DIEFFECTINFOW
);
/* We need to return something even if we're not yet acquired */
...
...
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