How to implement custom input events when using Common UI

I have a UI whose input config is set to menu. This UI does not capture mouse events, but I want it to respond to some mouse wheel events. How can I achieve this?

I tried a crude method - placing a transparent image at the top level of the UI, so that it can receive wheel events. But I wonder if there is a more elegant implementation.