[Git][wine/wine][master] dinput: Return DIERR_UNSUPPORTED in dinput_device_Escape.
"Alexandre Julliard (@julliard) via Wine-commits" <[email protected]> Mon, 09 Feb 2026 15:52:35 -0600
| Newsgroups | gmane.comp.emulators.wine.cvs |
|---|---|
| Message-ID | <[email protected]> |
----==_mimepart_698a572360c24_37bc84100a3dbc22835b0
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Alexandre Julliard pushed to branch master at wine / wine
Commits:
62bf2b05 by Viktor Balogh at 2026-02-09T22:41:30+01:00
dinput: Return DIERR_UNSUPPORTED in dinput_device_Escape.
At least Thrustmaster wheels are known for using the Escape method for
communication between the driver and the game. This is not utilized by
every game, but one that does is RaceRoom Racing Experience (RRRE).
RRRE uses it to query/set the wheel range and set force strengths. The
problematic part is the wheel range query, because the returned value
(0) is not the real range and that throws off the internal logic of
RRRE's engine and causes the wheel to snap in one direction.
Returning DIERR_UNSUPPORTED clearly indicates that the call failed and
RRRE no longer tries to use these methods for interaction with the
wheel.
Returning DIERR_UNSUPPORTED is also aligns with the behaviour of
hid_joystick_effect_Escape.
- - - - -
3 changed files:
- dlls/dinput/device.c
- dlls/dinput/tests/force_feedback.c
- dlls/dinput/tests/joystick8.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/62bf2b0545cc2d16343f2dcf4f64e9b713b23087
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/62bf2b0545cc2d16343f2dcf4f64e9b713b23087
You're receiving this email because of your account on gitlab.winehq.org.
----==_mimepart_698a572360c24_37bc84100a3dbc22835b0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www=
.w3.org/TR/REC-html40/loose.dtd">
<html lang=3D"en" style=3D'--code-editor-font: var(--default-mono-font, "=
GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, =
Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospac=
e;'>
<head>
<meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Type">=
<title>
GitLab
</title>
<style data-premailer=3D"ignore" type=3D"text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Ro=
boto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Colo=
r Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size=
: inherit;
}
</style>
</head>
<body style=3D'font-size: inherit; -webkit-text-shadow: rgba(255,255,255,=
.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont=
,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-ser=
if,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emo=
ji";'>
<div class=3D"content">
<h3 style=3D"margin-top: 20px; margin-bottom: 10px;">
Alexandre Julliard pushed to branch master at <a href=3D"https://gitlab.w=
inehq.org/wine/wine">wine / wine</a>
</h3>
<h4 style=3D"margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style=3D"font-weight: 600;"><a href=3D"https://gitlab.winehq.org/=
wine/wine/-/commit/62bf2b0545cc2d16343f2dcf4f64e9b713b23087">62bf2b05</a>=
</strong>
<div>
<span> by Viktor Balogh </span> <i> at 2026-02-09T22:41:30+01:00 </i>
</div>
<pre class=3D"commit-message" style=3D'white-space: pre-wrap; display: bl=
ock; font-size: 14px; color: #3a383f; position: relative; font-family: "G=
itLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation M=
ono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida co=
nsole", monospace; font-variant-ligatures: none; word-break: break-all; w=
ord-wrap: break-word; background-color: #fbfafd; border-radius: 2px; marg=
in: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>dinput: Return DIER=
R_UNSUPPORTED in dinput_device_Escape.
At least Thrustmaster wheels are known for using the Escape method for
communication between the driver and the game. This is not utilized by
every game, but one that does is RaceRoom Racing Experience (RRRE).
RRRE uses it to query/set the wheel range and set force strengths. The
problematic part is the wheel range query, because the returned value
(0) is not the real range and that throws off the internal logic of
RRRE's engine and causes the wheel to snap in one direction.
Returning DIERR_UNSUPPORTED clearly indicates that the call failed and
RRRE no longer tries to use these methods for interaction with the
wheel.
Returning DIERR_UNSUPPORTED is also aligns with the behaviour of
hid_joystick_effect_Escape.
</pre>
</li>
</ul>
<h4 style=3D"margin-top: 10px; margin-bottom: 10px;">
3 changed files:
</h4>
<ul>
<li class=3D"file-stats">
<a href=3D"https://gitlab.winehq.org/wine/wine/-/commit/62bf2b0545cc2d163=
43f2dcf4f64e9b713b23087#c98971ff9942f4a25e0f653fb3ab47926c2a4906">
dlls/dinput/device.c
</a>
</li>
<li class=3D"file-stats">
<a href=3D"https://gitlab.winehq.org/wine/wine/-/commit/62bf2b0545cc2d163=
43f2dcf4f64e9b713b23087#b991aecdd31c89088715c1a722e376bd0272fb2b">
dlls/dinput/tests/force_feedback.c
</a>
</li>
<li class=3D"file-stats">
<a href=3D"https://gitlab.winehq.org/wine/wine/-/commit/62bf2b0545cc2d163=
43f2dcf4f64e9b713b23087#2375c73572fca9387ab9532563efea1109023e88">
dlls/dinput/tests/joystick8.c
</a>
</li>
</ul>
</div>
<div class=3D"footer" style=3D"margin-top: 10px;">
<p style=3D"font-size: small; color: #626168;">
=E2=80=94
<br>
<a href=3D"https://gitlab.winehq.org/wine/wine/-/commit/62bf2b0545cc2d163=
43f2dcf4f64e9b713b23087">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target=3D"_blan=
k" rel=3D"noopener noreferrer" href=3D"https://gitlab.winehq.org">gitlab.=
winehq.org</a>. <a href=3D"https://gitlab.winehq.org/-/profile/notificati=
ons" target=3D"_blank" rel=3D"noopener noreferrer" class=3D"mng-notif-lin=
k">Manage all notifications</a> =C2=B7 <a href=3D"https://gitlab.winehq.o=
rg/help" target=3D"_blank" rel=3D"noopener noreferrer" class=3D"help-link=
">Help</a>
<span style=3D"color: transparent; font-size: 0; display: none; overflow:=
hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://gitlab.winehq.org/wine/wine/-/comm=
it/62bf2b0545cc2d16343f2dcf4f64e9b713b23087 at 1770673955
</span>
<script type=3D"application/ld+json">{"@context":"http://schema.org","@ty=
pe":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","u=
rl":"https://gitlab.winehq.org/wine/wine/-/commit/62bf2b0545cc2d16343f2dc=
f4f64e9b713b23087"}}</script>
</p>
</div>
</body>
</html>
----==_mimepart_698a572360c24_37bc84100a3dbc22835b0--