Gestures and touch in Enhanced Input

Can’t make built-in gesture detection work on Windows/Mac touchpads with Enhanced Input. I have input actions with Pinch/Rotate/Flick triggers. None fires. The same with touches. Is it a mobile only feature?

Hi,

As you mentioned, the built in gesture and touch in Enhanced Input are mainly for mobile.

It looks like Windows/Mac touchpads are treated as mouse events.

As a workaround, you could enable Mouse for touch in the project settings, but it would just be like using a normal mouse.

If you would like, I could escalate this to Epic as a feature request.

Please let me know!

Some extra information, the editor does have some implementations for Mac trackpads as shown here: https://dev.epicgames.com/documentation/en-us/unreal-engine/viewport-controls-in-unreal-engine#usingmagicmouseandmagictrackpad

but it seems lacking for track/touchpads on Windows according to this post: https://forums.unrealengine.com/t/request-support-for-touchpad-tap-with-two-fingers-to-right-click/2463907.

Regards

Hey there,

Just wanted to reach out and say that unfortunately we are not planning to support this at this time.

Sorry for the inconvenience

Ben

It would be nice to have Windows and (especially) Mac touchpad gesture support. I am trying to do it myself on Windows via WM_GESTURE, but without success.

I went ahead and escalated this to Epic as a feature request, thank you for your patience!

As for WM_GESTURE, I am unfamiliar with this topic, however I found this very old thread: Windows 10 and WM_GESTURE

that mentions a project that works in Win7 with WM_GESTURE, but unfortunately didn’t seem to continue working in Win10.

Regards