Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
e63f5113
Commit
e63f5113
authored
Mar 25, 2021
by
Rémi Bernon
Committed by
Vitaly Lipatov
Jul 30, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Support sending RIM_TYPEMOUSE through __wine_send_input.
parent
bd2410d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
message.c
dlls/win32u/message.c
+6
-0
queue.c
server/queue.c
+3
-0
No files found.
dlls/win32u/message.c
View file @
e63f5113
...
...
@@ -2452,6 +2452,12 @@ NTSTATUS send_hardware_message( HWND hwnd, const INPUT *input, const RAWINPUT *r
req
->
input
.
hw
.
rawinput
.
type
=
rawinput
->
header
.
dwType
;
switch
(
rawinput
->
header
.
dwType
)
{
case
RIM_TYPEMOUSE
:
req
->
input
.
hw
.
rawinput
.
mouse
.
x
=
rawinput
->
data
.
mouse
.
lLastX
;
req
->
input
.
hw
.
rawinput
.
mouse
.
y
=
rawinput
->
data
.
mouse
.
lLastY
;
req
->
input
.
hw
.
rawinput
.
mouse
.
data
=
rawinput
->
data
.
mouse
.
ulRawButtons
;
req
->
input
.
hw
.
lparam
=
rawinput
->
data
.
mouse
.
usFlags
;
break
;
case
RIM_TYPEHID
:
req
->
input
.
hw
.
rawinput
.
hid
.
device
=
HandleToUlong
(
rawinput
->
header
.
hDevice
);
req
->
input
.
hw
.
rawinput
.
hid
.
param
=
rawinput
->
header
.
wParam
;
...
...
server/queue.c
View file @
e63f5113
...
...
@@ -2080,6 +2080,9 @@ static void queue_custom_hardware_message( struct desktop *desktop, user_handle_
msg_data
->
size
=
sizeof
(
*
msg_data
)
+
report_size
;
msg_data
->
rawinput
=
input
->
hw
.
rawinput
;
if
(
input
->
hw
.
msg
==
WM_INPUT
&&
input
->
hw
.
rawinput
.
type
==
RIM_TYPEMOUSE
)
msg_data
->
flags
=
input
->
hw
.
lparam
;
enum_processes
(
queue_rawinput_message
,
&
raw_msg
);
if
(
raw_msg
.
foreground
)
release_object
(
raw_msg
.
foreground
);
...
...
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