Commit f0e02e4f authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

win32u: Remove now unnecessary rawinput_device_get_usages.

parent ad4f9d73
......@@ -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.@)
*/
......
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment