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
141a2679
Commit
141a2679
authored
Jul 06, 2006
by
Christoph Frick
Committed by
Alexandre Julliard
Jul 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Call fake_current_js_state on the places where it is actually needed in SetProperty.
parent
cd7e1d57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
joystick_linuxinput.c
dlls/dinput/joystick_linuxinput.c
+2
-1
No files found.
dlls/dinput/joystick_linuxinput.c
View file @
141a2679
...
@@ -1140,6 +1140,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -1140,6 +1140,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
This
->
wantmax
[
obj
]
=
pr
->
lMax
;
This
->
wantmax
[
obj
]
=
pr
->
lMax
;
}
}
}
}
fake_current_js_state
(
This
);
return
DI_OK
;
return
DI_OK
;
}
}
case
(
DWORD
)
DIPROP_DEADZONE
:
{
case
(
DWORD
)
DIPROP_DEADZONE
:
{
...
@@ -1157,6 +1158,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -1157,6 +1158,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
This
->
deadz
[
obj
]
=
pd
->
dwData
;
This
->
deadz
[
obj
]
=
pd
->
dwData
;
}
}
}
}
fake_current_js_state
(
This
);
return
DI_OK
;
return
DI_OK
;
}
}
default:
default:
...
@@ -1164,7 +1166,6 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
...
@@ -1164,7 +1166,6 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
break
;
break
;
}
}
}
}
fake_current_js_state
(
This
);
return
0
;
return
0
;
}
}
...
...
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