i’m trying to get scrolling with the touchpad of the ViveControllers to work with 3D Widgets (Widget Component). I gues I’m on the right way, but can’t figure out the detail.
Made my own pointer using WidgetInteractionComponent (WIC). WIC->ScrollWheel(…) seems to be the right function to inject the input. When I first fire WIC->PressPointerKey(…, LeftMouseButton) and then use WIC->ScrollWheel(…), I’m able to get the ScrollBox of the UMG to scroll until WIC->ReleasePointerKey(…, LeftMouseButton). How would I go about calling WIC->ScrollWheel(…) without simulating the LeftMouseButton press? As the LeftMouseButton press would do what it does: Press buttons what is obviously an unwanted behavior when scrolling.
Unreal VREditor does the same. Over a Widget you can use the Touchpad to scroll. Had a look in the source, but was not able to find out how it’s done.
Another problem I’m curious about is how to get the tooltip of the widget hovered with the WIC? As the tooltip set in a widget is not show when hovered with the WIC. Made myself a workaround but would be nice to use the already implemented functionality.