Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6d6e4f4e
Commit
6d6e4f4e
authored
Jul 06, 2007
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Jul 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Export Mouse and Keyboard GUIDs.
parent
fe1f1362
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
device_private.h
dlls/dinput/device_private.h
+2
-0
keyboard.c
dlls/dinput/keyboard.c
+2
-5
mouse.c
dlls/dinput/mouse.c
+2
-5
No files found.
dlls/dinput/device_private.h
View file @
6d6e4f4e
...
...
@@ -91,6 +91,8 @@ typedef struct {
extern
BOOL
DIEnumDevicesCallbackAtoW
(
LPCDIDEVICEOBJECTINSTANCEA
,
LPVOID
);
extern
const
GUID
DInput_Wine_Keyboard_GUID
;
extern
const
GUID
DInput_Wine_Mouse_GUID
;
/* Various debug tools */
extern
void
_dump_cooperativelevel_DI
(
DWORD
dwFlags
)
;
...
...
dlls/dinput/keyboard.c
View file @
6d6e4f4e
...
...
@@ -90,11 +90,8 @@ static LRESULT CALLBACK KeyboardCallback( int code, WPARAM wparam, LPARAM lparam
return
CallNextHookEx
(
0
,
code
,
wparam
,
lparam
);
}
static
const
GUID
DInput_Wine_Keyboard_GUID
=
{
/* 0ab8648a-7735-11d2-8c73-71df54a96441 */
0x0ab8648a
,
0x7735
,
0x11d2
,
{
0x8c
,
0x73
,
0x71
,
0xdf
,
0x54
,
0xa9
,
0x64
,
0x41
}
const
GUID
DInput_Wine_Keyboard_GUID
=
{
/* 0ab8648a-7735-11d2-8c73-71df54a96441 */
0x0ab8648a
,
0x7735
,
0x11d2
,
{
0x8c
,
0x73
,
0x71
,
0xdf
,
0x54
,
0xa9
,
0x64
,
0x41
}
};
static
void
fill_keyboard_dideviceinstanceA
(
LPDIDEVICEINSTANCEA
lpddi
,
DWORD
version
)
{
...
...
dlls/dinput/mouse.c
View file @
6d6e4f4e
...
...
@@ -71,11 +71,8 @@ struct SysMouseImpl
/* FIXME: This is ugly and not thread safe :/ */
static
IDirectInputDevice8A
*
current_lock
=
NULL
;
static
const
GUID
DInput_Wine_Mouse_GUID
=
{
/* 9e573ed8-7734-11d2-8d4a-23903fb6bdf7 */
0x9e573ed8
,
0x7734
,
0x11d2
,
{
0x8d
,
0x4a
,
0x23
,
0x90
,
0x3f
,
0xb6
,
0xbd
,
0xf7
}
const
GUID
DInput_Wine_Mouse_GUID
=
{
/* 9e573ed8-7734-11d2-8d4a-23903fb6bdf7 */
0x9e573ed8
,
0x7734
,
0x11d2
,
{
0x8d
,
0x4a
,
0x23
,
0x90
,
0x3f
,
0xb6
,
0xbd
,
0xf7
}
};
static
void
fill_mouse_dideviceinstanceA
(
LPDIDEVICEINSTANCEA
lpddi
,
DWORD
version
)
{
...
...
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