Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay in the ButtonPressed Event of RadialController in Windows.UI.Input #5150

Open
HayashidaRyunosuke opened this issue Feb 13, 2025 · 1 comment

Comments

@HayashidaRyunosuke
Copy link

Describe the bug:

When using the RadialController class from Windows.UI.Input to capture events from the Surface Dial, the ButtonPressed event does not fire immediately after the button is pressed. It experiences a delay of approximately 1 second before being triggered. This delay causes issues in my product, where I need the event to trigger immediately upon button press.

Additionally, the ButtonHolding event fires almost simultaneously with the ButtonPressed event, which makes the purpose of the ButtonPressed event unclear.

Steps to reproduce the bug:

Use the RadialController class from Windows.UI.Input to capture events from the Surface Dial.
Press the button on the Surface Dial.
Observe that the ButtonPressed event is delayed by approximately 1 second before firing.
Simultaneously, observe that the ButtonHolding event fires almost at the same time as the ButtonPressed event.
Expected behavior:
The ButtonPressed event should fire immediately when the button is pressed, without any delay. The ButtonHolding event should only fire when the button is held down for an extended period.

Windows version:

Windows11 (23H2) : Build 22621.4751

IDE:

Visual Studio 2022

Additional context:

The product I am developing requires immediate event triggering upon button press. The delay introduced by this issue is preventing proper functionality. Any guidance or suggestions on how to resolve this issue would be greatly appreciated.

Thank you for your time and assistance.

Best regards,

@RDMacLachlan
Copy link
Member

Hi @HayashidaRyunosuke, can you provide us with some more details on this Issue. Is this issue related to an app for feature that has dependencies on WinAppSDK? If so, which version of WinAppSDK are you encountering this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants