question

AliNoshahi avatar image
0 Votes"
AliNoshahi asked ·

Touchpad Interactions in uwp

Hi there,
I'm currently working on an Unofficial Instagram client "Winsta" and I recently added a pinch to zoom feature to it but it doesn't work with the touchpad.
Touchpad gestures don't invoke the Manipulation events.
I know I can use a ScrollViewer instead, but in my tests, ScrollViewer failed a lot. Isn't there any way to implement manipulation for the touchpad?
thanks.

windows-uwpwindows-uwp-xaml
· 6
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, about the touchpad gestures, we are currently communicating with the engineer, and if there something news, I will post here.

1 Vote 1 ·

thanks really.

0 Votes 0 ·

Still there's no update for this case?

0 Votes 0 ·

I'm sorry to keep you waiting. I have discussed this issue with the engineer, and already have begun to investigate this issue. If there is new progress, I will update here

0 Votes 0 ·

Hi there,
Normally, How long does it take? it passed for about one month and no updates.

0 Votes 0 ·
Show more comments

1 Answer

RichardZhang-MSFT avatar image
0 Votes"
RichardZhang-MSFT answered ·

Hello,​

Welcome to our Microsoft Q&A platform!

By communicating with the engineer, we reached a conclusion, The touchpad sends Pointer events rather than Manipulation events. You can handle pinch input from the touchpad with the PointerWheelChanged event.

It should be noted that the mouse wheel also triggers this event, so you need to take this into consideration when performing event processing.

Handling PointerWheelChanged event in combination with the ManipulationDelta will allow you to support both pinch from the touchpad and touchscreen.

Thanks.

· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi there and thanks for your suggestion. However this solution worked, but this solution is not very suitable for my case. Anyhow, thanks.

0 Votes 0 ·