I am frustratingly close to doing some fun things with the HTML nodes, but there are a few things I don’t see how to handle.
Back/forward as in a normal browser. This seems to require quite a lot of external handling to make this work, as the plugin does not appear to respond to the back/forward browser key codes.
Handling links any way but mouse clicks. If the HTML nodes output the link being “hovered” over, like most browsers do, then it would make possible some much better user feedback, such as changing the cursor, fetching pages into other textures for multiple page displays, etc. etc.
How to get “touch” events in, such as when using a multitouch surface for swiping, etc.
I’m hoping some of this stuff is there and I just haven’t figured it out, before I go hacking the plugin. Thanks!
(3) One way is to simulate “MouseDrag” with the mousejoin node and send it as a MouseState to the HTMLTexture _Mouse _
zeos, using what I think you were talking about for #3, “mousedrag”, isn’t quite the same thing, if I am correct in what you are referring to.
If I send a middle-button down, then any mouse X/Y change sets a velocity for scrolling the image. So it works like a joystick. Is that what you were talking about?
I’m looking for more like the inertial/ballistic motion you get with a swipe. I can do that for vertical scrolling, by using the Scroll input pin Y value and handling the inertia myself, but that doesn’t work for X on web pages that want you to swipe, not scroll, sideways to get to different content.
Also, I noticed in working on this that the HTML nodes ignore mouse scroll wheel input (guess I should file that as a bug).