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
91f7201d
Commit
91f7201d
authored
Feb 06, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Feb 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
joy.cpl: Refresh the DInput button display on device change.
parent
37025bda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dinput.c
dlls/joy.cpl/dinput.c
+3
-0
No files found.
dlls/joy.cpl/dinput.c
View file @
91f7201d
...
...
@@ -564,6 +564,7 @@ LRESULT CALLBACK test_di_buttons_window_proc( HWND hwnd, UINT msg, WPARAM wparam
hdc
=
BeginPaint
(
hwnd
,
&
paint
);
GetClientRect
(
hwnd
,
&
rect
);
FillRect
(
hdc
,
&
rect
,
(
HBRUSH
)(
COLOR_WINDOW
+
1
)
);
size
=
(
rect
.
right
-
rect
.
left
-
space
)
/
step
;
offs
=
(
rect
.
right
-
rect
.
left
-
step
*
size
-
space
)
/
2
;
...
...
@@ -762,6 +763,8 @@ INT_PTR CALLBACK test_di_dialog_proc( HWND hwnd, UINT msg, WPARAM wparam, LPARAM
SendDlgItemMessageW
(
hwnd
,
IDC_DI_EFFECTS
,
LB_SETCURSEL
,
0
,
0
);
handle_di_effects_change
(
hwnd
);
update_device_views
(
hwnd
);
break
;
case
MAKEWPARAM
(
IDC_DI_EFFECTS
,
LBN_SELCHANGE
):
...
...
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