mrvux / dx11-vvvv

DirectX11 Rendering within vvvv
Other
71 stars 71 forks source link

Output actual mouse events on rederer output #335

Closed tebjan closed 6 years ago

tebjan commented 6 years ago

currently the mouse output is only the last state in the past frame. vvvv has changed the mouse type since a while to give nodes that work with mouse or keyboard a chance to react on the actual events and don't miss information when multiple events happened during one frame.

the conversion seems not so complicated, instead of MouseState, output the newer Mouse (/Keyboard) type. like here: https://github.com/vvvv/vvvv-sdk/blob/develop/vvvv45/src/nodes/plugins/System/MouseNodes.cs#L236

this would also fix a second problem that got me to inspect this issue, that ClientSize and Pixel position are missing in the mouse notifications that come from a DX11 renderer.

tebjan commented 6 years ago

started to work on a PR. tell me when you plan a new release, so it can be included.