Hello, i’m using both
// Filtered keys bool OnInputChannelEventFiltered(const AzFramework::InputChannel& inputChannel) override;
// UI button action void OnAction(AZ::EntityId entityId, const LyShine::ActionName & actionName) override;
to generate mouse input in my project but it seems that whenever i click on a UI button, filtered keys stop sending mouse button up events. No matter how many times i click on a button not even one mouse up event is generated but every time i click i get 2-5 mouse down events(i get 2-5 mouse down events even when clicking not on a button).
If i press a button, hover off the button and release mouse, up event is still not getting generated.
Moreover, button actions don’t seem to provide functionality to know if mouse was released off it.
How do solve this?
o_hasBeenConsumed = OnInputChannelEventFiltered(inputChannel);
consumes my mouse up events but not down events. In any case, the consuming of inputs in general is unwanted behavior as it corrupts behavior of any interactive elements i have.