Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c47677fe
Commit
c47677fe
authored
Jan 31, 2012
by
Marcel Hasler
Committed by
Alexandre Julliard
Feb 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Support INFINITE as number of effect iterations.
parent
441f7b6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
effect_linuxinput.c
dlls/dinput/effect_linuxinput.c
+2
-1
No files found.
dlls/dinput/effect_linuxinput.c
View file @
c47677fe
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
# include <linux/input.h>
# include <linux/input.h>
# undef SW_MAX
# undef SW_MAX
#endif
#endif
#include <limits.h>
#include <errno.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
# include <unistd.h>
# include <unistd.h>
...
@@ -518,7 +519,7 @@ static HRESULT WINAPI LinuxInputEffectImpl_Start(
...
@@ -518,7 +519,7 @@ static HRESULT WINAPI LinuxInputEffectImpl_Start(
event
.
type
=
EV_FF
;
event
.
type
=
EV_FF
;
event
.
code
=
This
->
effect
.
id
;
event
.
code
=
This
->
effect
.
id
;
event
.
value
=
dwIterations
;
event
.
value
=
min
(
dwIterations
,
INT_MAX
)
;
if
(
write
(
*
(
This
->
fd
),
&
event
,
sizeof
(
event
))
==
-
1
)
{
if
(
write
(
*
(
This
->
fd
),
&
event
,
sizeof
(
event
))
==
-
1
)
{
FIXME
(
"Unable to write event. Assuming device disconnected.
\n
"
);
FIXME
(
"Unable to write event. Assuming device disconnected.
\n
"
);
return
DIERR_INPUTLOST
;
return
DIERR_INPUTLOST
;
...
...
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