Ivo Ivanov
496f7c6134
windows.gaming.input: Assume that joysticks with single FFB axis are racing wheels.
...
The HID PID steering wheels always declare one force feedback axis,
while the joysticks always have two or more. So it is safe to
assume that joysticks with single FFB axis are racing wheels.
Fixes FH5 not having force feedback with a Simucube 2 steering
wheel, when using the hidraw backend.
2022-11-25 10:02:43 +01:00
Ivo Ivanov
a1ce348c95
windows.gaming.input: Implement the number of FFB axes according to the SupportedAxes property.
2022-11-25 10:02:41 +01:00
Ivo Ivanov
c821787338
dinput/tests: Reduce the available FFB axes to X and Y in test_windows_gaming_input.
...
Windows.Gaming.Input on Windows always uses the X and Y axes for
FFB, ignoring what is declared in the HID report descriptor, and
the Axes Enable collection. Since we have the correct behavior
on Wine, this allows the test to complete on both platforms
without issues.
2022-11-25 10:02:40 +01:00
Rémi Bernon
9f48f4d580
windows.gaming.input: Set initial effect parameters within the CS.
2022-11-25 10:02:39 +01:00
Ivo Ivanov
5f8f6c3452
windows.gaming.input: Implement IForceFeedbackMotor_get_SupportedAxes.
2022-11-25 10:02:37 +01:00
Ivo Ivanov
cd75ed1800
dinput: Always send both "Type Specific" and "Set Effect" reports on initial Download.
...
Fixes the Download method not sending an initial type specific
HID PID report in the rare cases where all type specific params
are set to 0 through the initial SetParameters call, so they aren't
considered as modified.
FH5 is affected by this issue, since it initially sets the
direction of its constant effect to 0, which translates to 0
magnitude in dinput.
2022-11-25 10:02:36 +01:00
Rémi Bernon
a146f9b6f1
dinput/tests: Test zero-ed force feedback effect parameters.
2022-11-25 10:02:35 +01:00
Ivo Ivanov
eccfcc8011
windows.gaming.input: Add gain of 1.0 to the initialization params of (Constant|Ramp)Effect's SetParameters.
...
Fixes FH5 not having (or having very subtle) force feedback.
Potentially affects most WGI games, since the constant effect is
usually the main effect.
2022-11-25 10:02:34 +01:00
Piotr Caban
50a2e2f0e9
localspl: Run XcvOpenPort tests when InitializePrintMonitor2 is used.
2022-11-25 10:02:17 +01:00
Piotr Caban
b07b9074ee
localspl: Remove unused OpenPortEx function pointers.
2022-11-25 10:02:17 +01:00
Piotr Caban
3d62544f1f
localspl: Run OpenPort tests when InitializePrintMonitor2 is used.
2022-11-25 10:02:16 +01:00
Piotr Caban
9498fabfd3
localspl: Run EnumPorts tests when InitializePrintMonitor2 is used.
2022-11-25 10:02:16 +01:00
Piotr Caban
8e9bcf4280
localspl: Run AddPortEx tests when InitializePrintMonitor2 is used.
2022-11-25 10:02:16 +01:00
Jacek Caban
274a9db57a
winevulkan: Don't try to convert unions without selectors.
2022-11-25 10:02:08 +01:00
Alex Henrie
81a6c8c882
dmusic: Don't force a calling convention on internal functions.
2022-11-24 22:20:21 +01:00
Alex Henrie
0b004131e2
dmsynth: Don't force a calling convention on internal functions.
2022-11-24 22:20:21 +01:00
Alex Henrie
6bf23c4ae9
dmstyle: Don't force a calling convention on internal functions.
2022-11-24 22:20:21 +01:00
Alex Henrie
5dab1e4ea4
dmscript: Don't force a calling convention on internal functions.
2022-11-24 22:20:21 +01:00
Alex Henrie
be666ef422
dmloader: Don't force a calling convention on internal functions.
2022-11-24 22:20:21 +01:00
Alex Henrie
e1e651c83c
dmime: Don't force a calling convention on internal functions.
2022-11-24 22:20:21 +01:00
Alex Henrie
c9fb12c19d
dmcompos: Don't force a calling convention on internal functions.
2022-11-24 22:20:21 +01:00
Alex Henrie
d535c8ac16
dmband: Don't force a calling convention on internal functions.
2022-11-24 22:20:21 +01:00
Paul Gofman
71fdd64bc6
winhttp: Cache script in download_script().
2022-11-24 22:20:21 +01:00
Paul Gofman
cbfe940a1e
winhttp: Set name resolution timeout in download_script().
2022-11-24 22:20:21 +01:00
Paul Gofman
289d21a5d2
winhttp: Do not reference request from socket.
2022-11-24 22:20:21 +01:00
Paul Gofman
50bea867d2
winhttp: Move read buffer to websocket.
2022-11-24 22:20:20 +01:00
Paul Gofman
e50df0fa1c
winhttp: Move flags to websocket header.
2022-11-24 22:20:20 +01:00
Paul Gofman
64abcf80b6
winhttp: Store connection in websocket.
2022-11-24 22:20:20 +01:00
Paul Gofman
34b3d212a8
winhttp: Send connection close notifications in finished_reading().
2022-11-24 22:20:20 +01:00
Paul Gofman
f75a8b3555
winhttp/tests: Avoid race condition on closing connection in server_thread().
...
The connection may be cached and checked for availability for request
before the server thread closes it.
2022-11-24 22:20:20 +01:00
Paul Gofman
645a65cbcf
winhttp: Add reference counting for connection.
2022-11-24 22:20:20 +01:00
Nikolay Sivov
9f77009aa5
vbscript: Accept "><" as inequality operator.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-24 22:20:20 +01:00
Nikolay Sivov
6f1d38bdba
vbscript/tests: Add some tests for lte/gte tokens.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-24 22:20:20 +01:00
Robert Wilhelm
3a57802289
vbscript: Handle another variant of LTE/GTE tokens.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53670
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-11-24 22:20:20 +01:00
Rémi Bernon
63b6ec5af3
ntdll: Pass a heap block pointer to initialize_block.
2022-11-24 22:20:20 +01:00
Rémi Bernon
1526ac755f
ntdll: Compute block size before calling heap_(re)allocate.
2022-11-24 22:20:20 +01:00
Rémi Bernon
e7827fc853
ntdll: Compute effective flags in unsafe_heap_from_handle.
2022-11-24 22:20:20 +01:00
Rémi Bernon
21218ce309
ntdll: Use BLOCK_FLAG_LARGE rather than subheap pointer.
2022-11-24 22:20:20 +01:00
Rémi Bernon
ab28138862
ntdll: Rename heap block ALIGNMENT macro to BLOCK_ALIGN.
...
And COMMIT_MASK to REGION_ALIGN - 1.
2022-11-24 22:20:20 +01:00
Paul Gofman
eec6aea10a
wmic: Support array of BSTRs in convert_to_bstr().
2022-11-24 22:20:20 +01:00
Paul Gofman
e3d7a3e3f6
wmic: Add nicconfig alias.
2022-11-24 22:20:20 +01:00
Paul Gofman
97b9d8ddbe
wmic: Handle VariantChangeType() failures.
...
wmic currently crashes on, e. g., VT_EMPTY or VT_ARRAY types returned.
2022-11-24 22:20:20 +01:00
Paul Gofman
85b84a949c
wmic: Call _BeginEnumeration() before iterating class object.
...
Otherwise enumeration fails on Windows.
2022-11-24 22:20:20 +01:00
Paul Gofman
6412b3dc3a
wmic: Don't set WBEM_FLAG_FORWARD_ONLY flag on query.
...
The result access is not forward only.
2022-11-24 22:20:20 +01:00
Alex Henrie
5c00a8a330
mshtml: Use standard C functions for memory allocation.
2022-11-24 22:20:20 +01:00
Alexandre Julliard
e7caf5a687
wineusb.sys: Use the Unix call helpers.
2022-11-24 22:20:20 +01:00
Alexandre Julliard
4510e490e9
winebus.sys: Use the Unix call helpers.
2022-11-24 22:20:20 +01:00
Alexandre Julliard
2a366cddd7
nsiproxy.sys: Use the Unix call helpers.
2022-11-24 22:20:20 +01:00
Alexandre Julliard
14d411b8a0
mountmgr.sys: Use the Unix call helpers.
2022-11-24 22:20:20 +01:00
Alexandre Julliard
d8b77f14a3
winepulse.drv: Use the Unix call helpers.
2022-11-24 22:20:20 +01:00