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
bfafb1ff
Commit
bfafb1ff
authored
Dec 10, 2013
by
Austin English
Committed by
Alexandre Julliard
Dec 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Consistently use GetCurrentTime().
parent
710e3bc5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
joystick_linux.c
dlls/dinput/joystick_linux.c
+1
-2
joystick_linuxinput.c
dlls/dinput/joystick_linuxinput.c
+1
-1
keyboard.c
dlls/dinput/keyboard.c
+1
-1
No files found.
dlls/dinput/joystick_linux.c
View file @
bfafb1ff
...
...
@@ -689,8 +689,7 @@ static void joy_polldev(LPDIRECTINPUTDEVICE8A iface)
}
}
if
(
inst_id
>=
0
)
queue_event
(
iface
,
inst_id
,
value
,
jse
.
time
,
This
->
generic
.
base
.
dinput
->
evsequence
++
);
queue_event
(
iface
,
inst_id
,
value
,
GetCurrentTime
(),
This
->
generic
.
base
.
dinput
->
evsequence
++
);
}
}
...
...
dlls/dinput/joystick_linuxinput.c
View file @
bfafb1ff
...
...
@@ -873,7 +873,7 @@ static void joy_polldev(LPDIRECTINPUTDEVICE8A iface)
}
if
(
inst_id
>=
0
)
queue_event
(
iface
,
inst_id
,
value
,
ie
.
time
.
tv_usec
,
This
->
generic
.
base
.
dinput
->
evsequence
++
);
value
,
GetCurrentTime
()
,
This
->
generic
.
base
.
dinput
->
evsequence
++
);
}
}
...
...
dlls/dinput/keyboard.c
View file @
bfafb1ff
...
...
@@ -126,7 +126,7 @@ static int KeyboardCallback( LPDIRECTINPUTDEVICE8A iface, WPARAM wparam, LPARAM
EnterCriticalSection
(
&
This
->
base
.
crit
);
queue_event
(
iface
,
DIDFT_MAKEINSTANCE
(
dik_code
)
|
DIDFT_PSHBUTTON
,
new_diks
,
hook
->
time
,
This
->
base
.
dinput
->
evsequence
++
);
new_diks
,
GetCurrentTime
()
,
This
->
base
.
dinput
->
evsequence
++
);
LeaveCriticalSection
(
&
This
->
base
.
crit
);
return
ret
;
...
...
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