We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e46f99 commit 2f9de0aCopy full SHA for 2f9de0a
1 file changed
src/tests/windows/driver/vhidmini.c
@@ -1273,10 +1273,13 @@ Return Value:
1273
queueContext->Queue = queue;
1274
queueContext->DeviceContext = GetDeviceContext(Device);
1275
1276
+ /* HIDAPI test: poll the scenario state often so a triggered input report
1277
+ is replayed promptly (well within the test's read timeouts). */
1278
+ (void)timerPeriodInSeconds;
1279
WDF_TIMER_CONFIG_INIT_PERIODIC(
1280
&timerConfig,
1281
EvtTimerFunc,
- timerPeriodInSeconds * 1000);
1282
+ 50 /* ms */);
1283
1284
WDF_OBJECT_ATTRIBUTES_INIT(&timerAttributes);
1285
timerAttributes.ParentObject = queue;
0 commit comments