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
3495bd44
Commit
3495bd44
authored
Nov 17, 2021
by
Rémi Bernon
Committed by
Alexandre Julliard
Nov 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebus.sys: Implement PID device gain for SDL devices.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
45986545
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
bus_sdl.c
dlls/winebus.sys/bus_sdl.c
+6
-2
No files found.
dlls/winebus.sys/bus_sdl.c
View file @
3495bd44
...
...
@@ -482,9 +482,13 @@ static NTSTATUS sdl_device_physical_device_control(struct unix_device *iface, US
static
NTSTATUS
sdl_device_physical_device_set_gain
(
struct
unix_device
*
iface
,
BYTE
value
)
{
FIXME
(
"iface %p, value %#x stub!
\n
"
,
iface
,
valu
e
);
struct
sdl_device
*
impl
=
impl_from_unix_device
(
ifac
e
);
return
STATUS_NOT_IMPLEMENTED
;
TRACE
(
"iface %p, value %#x.
\n
"
,
iface
,
value
);
pSDL_HapticSetGain
(
impl
->
sdl_haptic
,
value
*
100
/
255
);
return
STATUS_SUCCESS
;
}
static
NTSTATUS
sdl_device_physical_effect_control
(
struct
unix_device
*
iface
,
BYTE
index
,
...
...
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