I collected all information I could find, and made this video, which hopefully explains a bit more how to do it.
In short for hardware you need to set specific directory in your non-asset include in packaging, then create a subclass of viewport and add the MouseEnter(Viewport, 0, 0); suggested above. The video shows also the code and clicks needed.