I’m working on a web game in Halogen and I would very much like to use the onContextMenu event in order to allow for right clicks. After looking through the source, it appears that this event used to exist, but is commented out. I’ve attempted to follow the dependencies and patch it back in, but I haven’t had much luck. I’m pretty sure I should be using the FFI somehow to do this, I have no clue as to how to do it in a way that’ll make it play nice with Halogen.
Could someone point me in the right direction? A very general description of what I need to do would suffice I think. Thanks!