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
58937117
Commit
58937117
authored
Aug 14, 2016
by
Bruno Jesus
Committed by
Alexandre Julliard
Aug 15, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Add support for DIPROP_VIDPID property in Linux js implementation.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f1b782bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
joystick_linux.c
dlls/dinput/joystick_linux.c
+10
-0
No files found.
dlls/dinput/joystick_linux.c
View file @
58937117
...
...
@@ -645,6 +645,16 @@ static HRESULT WINAPI JoystickLinuxWImpl_GetProperty(LPDIRECTINPUTDEVICE8W iface
switch
(
LOWORD
(
rguid
))
{
case
(
DWORD_PTR
)
DIPROP_VIDPID
:
{
LPDIPROPDWORD
pd
=
(
LPDIPROPDWORD
)
pdiph
;
if
(
!
This
->
joydev
->
product_id
||
!
This
->
joydev
->
vendor_id
)
return
DIERR_UNSUPPORTED
;
pd
->
dwData
=
MAKELONG
(
This
->
joydev
->
vendor_id
,
This
->
joydev
->
product_id
);
TRACE
(
"DIPROP_VIDPID(%08x)
\n
"
,
pd
->
dwData
);
break
;
}
case
(
DWORD_PTR
)
DIPROP_JOYSTICKID
:
{
LPDIPROPDWORD
pd
=
(
LPDIPROPDWORD
)
pdiph
;
...
...
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