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
6b1b5211
Commit
6b1b5211
authored
Aug 18, 2022
by
Ivo Ivanov
Committed by
Alexandre Julliard
Nov 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Remove redundant physical range values.
The physical range is not correct for the given usage. Signed-off-by:
Ivo Ivanov
<
logos128@gmail.com
>
parent
29894e1c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
joystick_hid.c
dlls/dinput/joystick_hid.c
+0
-2
No files found.
dlls/dinput/joystick_hid.c
View file @
6b1b5211
...
@@ -1845,8 +1845,6 @@ static BOOL init_pid_caps( struct hid_joystick *impl, struct hid_value_caps *cap
...
@@ -1845,8 +1845,6 @@ static BOOL init_pid_caps( struct hid_joystick *impl, struct hid_value_caps *cap
if
(
instance
->
wCollectionNumber
==
effect_update
->
axes_coll
)
if
(
instance
->
wCollectionNumber
==
effect_update
->
axes_coll
)
{
{
SET_REPORT_ID
(
effect_update
);
SET_REPORT_ID
(
effect_update
);
caps
->
physical_min
=
0
;
caps
->
physical_max
=
36000
;
if
(
effect_update
->
axis_count
>=
6
)
FIXME
(
"more than 6 PID axes detected
\n
"
);
if
(
effect_update
->
axis_count
>=
6
)
FIXME
(
"more than 6 PID axes detected
\n
"
);
else
effect_update
->
axis_caps
[
effect_update
->
axis_count
]
=
caps
;
else
effect_update
->
axis_caps
[
effect_update
->
axis_count
]
=
caps
;
effect_update
->
axis_count
++
;
effect_update
->
axis_count
++
;
...
...
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