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
258fd75b
Commit
258fd75b
authored
Oct 21, 2009
by
Ričardas Barkauskas
Committed by
Alexandre Julliard
Oct 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Fix counting non mapped axis as pov.
parent
e1903dc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
joystick.c
dlls/dinput/joystick.c
+3
-1
No files found.
dlls/dinput/joystick.c
View file @
258fd75b
...
...
@@ -549,7 +549,9 @@ HRESULT setup_dinput_options(JoystickGenericImpl *This, const int *default_axis_
{
This
->
axis_map
[
i
]
=
default_axis_map
[
i
];
tokens
=
default_axis_map
[
i
];
if
(
tokens
>=
0
&&
tokens
<
8
)
if
(
tokens
<
0
)
continue
;
if
(
tokens
<
8
)
axis
++
;
else
if
(
tokens
<
15
)
{
...
...
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