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
b3259782
Commit
b3259782
authored
Jul 24, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user: Use (win) debug channel by default, add a TRACE to SendInput.
parent
c514700b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
4 deletions
+37
-4
input.c
dlls/user/input.c
+37
-4
No files found.
dlls/user/input.c
View file @
b3259782
...
...
@@ -39,13 +39,14 @@
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
#include "wine/server.h"
#include "user_private.h"
#include "winternl.h"
#include "wine/debug.h"
#include "winerror.h"
#include "win.h"
#include "user_private.h"
#include "wine/server.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
key
);
WINE_DEFAULT_DEBUG_CHANNEL
(
win
);
WINE_DECLARE_DEBUG_CHANNEL
(
keyboard
);
...
...
@@ -80,6 +81,38 @@ static WORD get_key_state(void)
*/
UINT
WINAPI
SendInput
(
UINT
count
,
LPINPUT
inputs
,
int
size
)
{
if
(
TRACE_ON
(
win
))
{
UINT
i
;
for
(
i
=
0
;
i
<
count
;
i
++
)
{
switch
(
inputs
[
i
].
type
)
{
case
INPUT_MOUSE
:
TRACE
(
"mouse: dx %ld, dy %ld, data %lx, flags %lx, time %lu, info %lx
\n
"
,
inputs
[
i
].
u
.
mi
.
dx
,
inputs
[
i
].
u
.
mi
.
dy
,
inputs
[
i
].
u
.
mi
.
mouseData
,
inputs
[
i
].
u
.
mi
.
dwFlags
,
inputs
[
i
].
u
.
mi
.
time
,
inputs
[
i
].
u
.
mi
.
dwExtraInfo
);
break
;
case
INPUT_KEYBOARD
:
TRACE
(
"keyboard: vk %x, scan %x, flags %lx, time %lu, info %lx
\n
"
,
inputs
[
i
].
u
.
ki
.
wVk
,
inputs
[
i
].
u
.
ki
.
wScan
,
inputs
[
i
].
u
.
ki
.
dwFlags
,
inputs
[
i
].
u
.
ki
.
time
,
inputs
[
i
].
u
.
ki
.
dwExtraInfo
);
break
;
case
INPUT_HARDWARE
:
TRACE
(
"hardware: msg %ld, wParamL %x, wParamH %x
\n
"
,
inputs
[
i
].
u
.
hi
.
uMsg
,
inputs
[
i
].
u
.
hi
.
wParamL
,
inputs
[
i
].
u
.
hi
.
wParamH
);
break
;
default:
FIXME
(
"unknown input type %lu
\n
"
,
inputs
[
i
].
type
);
break
;
}
}
}
return
USER_Driver
->
pSendInput
(
count
,
inputs
,
size
);
}
...
...
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