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
f0e02e4f
Commit
f0e02e4f
authored
Apr 29, 2024
by
Rémi Bernon
Committed by
Alexandre Julliard
May 02, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Remove now unnecessary rawinput_device_get_usages.
parent
ad4f9d73
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
rawinput.c
dlls/win32u/rawinput.c
+0
-19
win32u_private.h
dlls/win32u/win32u_private.h
+0
-1
No files found.
dlls/win32u/rawinput.c
View file @
f0e02e4f
...
...
@@ -316,25 +316,6 @@ static struct device *find_device_from_handle( HANDLE handle )
return
NULL
;
}
BOOL
rawinput_device_get_usages
(
HANDLE
handle
,
USAGE
*
usage_page
,
USAGE
*
usage
)
{
struct
device
*
device
;
pthread_mutex_lock
(
&
rawinput_mutex
);
if
(
!
(
device
=
find_device_from_handle
(
handle
))
||
device
->
info
.
dwType
!=
RIM_TYPEHID
)
*
usage_page
=
*
usage
=
0
;
else
{
*
usage_page
=
device
->
info
.
hid
.
usUsagePage
;
*
usage
=
device
->
info
.
hid
.
usUsage
;
}
pthread_mutex_unlock
(
&
rawinput_mutex
);
return
*
usage_page
||
*
usage
;
}
/**********************************************************************
* NtUserGetRawInputDeviceList (win32u.@)
*/
...
...
dlls/win32u/win32u_private.h
View file @
f0e02e4f
...
...
@@ -146,7 +146,6 @@ extern void pack_user_message( void *buffer, size_t size, UINT message,
/* rawinput.c */
extern
BOOL
process_rawinput_message
(
MSG
*
msg
,
UINT
hw_id
,
const
struct
hardware_msg_data
*
msg_data
);
extern
BOOL
rawinput_device_get_usages
(
HANDLE
handle
,
USHORT
*
usage_page
,
USHORT
*
usage
);
/* scroll.c */
extern
void
draw_nc_scrollbar
(
HWND
hwnd
,
HDC
hdc
,
BOOL
draw_horizontal
,
BOOL
draw_vertical
);
...
...
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