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
df6bc20b
Commit
df6bc20b
authored
May 19, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
May 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Clear DIA_APPNOMAP BuildActionMap flag with specific device semantic.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=54917
parent
5b648e7e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
device.c
dlls/dinput/device.c
+1
-0
device8.c
dlls/dinput/tests/device8.c
+0
-4
No files found.
dlls/dinput/device.c
View file @
df6bc20b
...
...
@@ -1851,6 +1851,7 @@ static HRESULT WINAPI dinput_device_BuildActionMap( IDirectInputDevice8W *iface,
if
(
action
->
dwFlags
&
DIA_APPMAPPED
)
action
->
dwHow
=
DIAH_APPREQUESTED
;
else
action
->
dwHow
=
0
;
if
(
action
->
dwHow
==
DIAH_APPREQUESTED
||
action
->
dwHow
==
DIAH_USERCONFIG
)
continue
;
if
((
action
->
dwSemantic
&
0xf0000000
)
==
0x80000000
)
action
->
dwFlags
&=
~
DIA_APPNOMAP
;
if
(
!
(
action
->
dwFlags
&
DIA_APPNOMAP
))
action
->
guidInstance
=
GUID_NULL
;
}
...
...
dlls/dinput/tests/device8.c
View file @
df6bc20b
...
...
@@ -1727,17 +1727,13 @@ static void check_diactionA_( int line, const DIACTIONA *actual, const DIACTIONA
{
check_member_
(
__FILE__
,
line
,
*
actual
,
*
expected
,
"%#Ix"
,
uAppData
);
check_member_
(
__FILE__
,
line
,
*
actual
,
*
expected
,
"%#lx"
,
dwSemantic
);
todo_wine_if
(
expected
->
dwSemantic
==
0x810004c8
)
check_member_
(
__FILE__
,
line
,
*
actual
,
*
expected
,
"%#lx"
,
dwFlags
);
if
(
actual
->
lptszActionName
&&
expected
->
lptszActionName
)
check_member_str_
(
__FILE__
,
line
,
*
actual
,
*
expected
,
lptszActionName
);
else
check_member_
(
__FILE__
,
line
,
*
actual
,
*
expected
,
"%p"
,
lptszActionName
);
todo_wine_if
(
expected
->
dwSemantic
==
0x810004c8
)
check_member_guid_
(
__FILE__
,
line
,
*
actual
,
*
expected
,
guidInstance
);
todo_wine_if
(
expected
->
dwSemantic
==
0x810004c8
)
check_member_
(
__FILE__
,
line
,
*
actual
,
*
expected
,
"%#lx"
,
dwObjID
);
todo_wine_if
(
expected
->
dwSemantic
==
0x810004c8
)
check_member_
(
__FILE__
,
line
,
*
actual
,
*
expected
,
"%#lx"
,
dwHow
);
}
...
...
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