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
84fb23f4
Commit
84fb23f4
authored
Nov 07, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Use BOOL type where appropriate.
parent
27947d26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
effect_linuxinput.c
dlls/dinput/effect_linuxinput.c
+1
-1
joystick_linuxinput.c
dlls/dinput/joystick_linuxinput.c
+2
-2
No files found.
dlls/dinput/effect_linuxinput.c
View file @
84fb23f4
...
...
@@ -57,7 +57,7 @@ struct LinuxInputEffectImpl
struct
ff_effect
effect
;
/* Effect data */
int
gain
;
/* Effect gain */
int
first_axis_is_x
;
BOOL
first_axis_is_x
;
int
*
fd
;
/* Parent device */
struct
list
*
entry
;
/* Entry into the parent's list of effects */
};
...
...
dlls/dinput/joystick_linuxinput.c
View file @
84fb23f4
...
...
@@ -184,7 +184,7 @@ static void find_joydevs(void)
char
buf
[
MAX_PATH
];
struct
JoyDev
joydev
=
{
0
};
int
fd
;
int
no_ff_check
=
0
;
BOOL
no_ff_check
=
FALSE
;
int
j
;
struct
JoyDev
*
new_joydevs
;
struct
input_id
device_id
=
{
0
};
...
...
@@ -194,7 +194,7 @@ static void find_joydevs(void)
if
((
fd
=
open
(
buf
,
O_RDWR
))
==
-
1
)
{
fd
=
open
(
buf
,
O_RDONLY
);
no_ff_check
=
1
;
no_ff_check
=
TRUE
;
}
if
(
fd
==
-
1
)
...
...
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