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
429c8ac9
Commit
429c8ac9
authored
Dec 01, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Dec 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Implement Poll for keyboard.
parent
0da0486c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
keyboard.c
dlls/dinput/keyboard.c
+14
-2
No files found.
dlls/dinput/keyboard.c
View file @
429c8ac9
...
...
@@ -669,6 +669,18 @@ static HRESULT WINAPI SysKeyboardWImpl_GetDeviceInfo(LPDIRECTINPUTDEVICE8W iface
return
DI_OK
;
}
static
HRESULT
WINAPI
SysKeyboardAImpl_Poll
(
LPDIRECTINPUTDEVICE8A
iface
)
{
SysKeyboardImpl
*
This
=
(
SysKeyboardImpl
*
)
iface
;
TRACE
(
"(%p)
\n
"
,
This
);
if
(
!
This
->
base
.
acquired
)
return
DIERR_NOTACQUIRED
;
MsgWaitForMultipleObjectsEx
(
0
,
NULL
,
0
,
QS_ALLINPUT
,
0
);
return
DI_OK
;
}
static
const
IDirectInputDevice8AVtbl
SysKeyboardAvt
=
{
IDirectInputDevice2AImpl_QueryInterface
,
...
...
@@ -696,7 +708,7 @@ static const IDirectInputDevice8AVtbl SysKeyboardAvt =
IDirectInputDevice2AImpl_SendForceFeedbackCommand
,
IDirectInputDevice2AImpl_EnumCreatedEffectObjects
,
IDirectInputDevice2AImpl_Escape
,
IDirectInputDevice2
AImpl_Poll
,
SysKeyboard
AImpl_Poll
,
IDirectInputDevice2AImpl_SendDeviceData
,
IDirectInputDevice7AImpl_EnumEffectsInFile
,
IDirectInputDevice7AImpl_WriteEffectToFile
,
...
...
@@ -738,7 +750,7 @@ static const IDirectInputDevice8WVtbl SysKeyboardWvt =
XCAST
(
SendForceFeedbackCommand
)
IDirectInputDevice2AImpl_SendForceFeedbackCommand
,
XCAST
(
EnumCreatedEffectObjects
)
IDirectInputDevice2AImpl_EnumCreatedEffectObjects
,
XCAST
(
Escape
)
IDirectInputDevice2AImpl_Escape
,
XCAST
(
Poll
)
IDirectInputDevice2
AImpl_Poll
,
XCAST
(
Poll
)
SysKeyboard
AImpl_Poll
,
XCAST
(
SendDeviceData
)
IDirectInputDevice2AImpl_SendDeviceData
,
IDirectInputDevice7WImpl_EnumEffectsInFile
,
IDirectInputDevice7WImpl_WriteEffectToFile
,
...
...
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