Page 1 of 2
Event noesis mouse remote
Posted: 12 Nov 2019, 15:18
by drakus
Is it possible to send mouse event in a remote unity window containing a noesisView ?
Re: Event noesis mouse remote
Posted: 13 Nov 2019, 11:38
by jsantos
Yes, the architecture allows that. You can inject events manually to the view. You just need to implement the part that collects the input from the network.
Re: Event noesis mouse remote
Posted: 14 Nov 2019, 16:20
by drakus
I inject my position and click on MouseButtonDown but I have some issues on refreshing , sometimes events don't refresh. I don't know why currently
Re: Event noesis mouse remote
Posted: 15 Nov 2019, 11:10
by jsantos
Does it happen if you remove the network layer and inject the events locally?
Re: Event noesis mouse remote
Posted: 15 Nov 2019, 14:51
by drakus
In local , the events are ok , but in remote renderer doesn't work , I modified the NoesisView file and created remote function
Re: Event noesis mouse remote
Posted: 15 Nov 2019, 18:17
by jsantos
Well, without more information I am no able to help you. Anyway, I don't see necessary to modify NoesisView at all, you should be able to inject events from outside.
Re: Event noesis mouse remote
Posted: 15 Nov 2019, 18:31
by drakus
I do it because , I don't want to add code managment into xaml.cs. I build a ddl of my unity scene the only way to send event for me it's attach my objectSender into NoesisView and catch event a send to process with UpdateMouse function by example. I do this because I can't integrate noesis with my implementation but the issue it's the same.
Re: Event noesis mouse remote
Posted: 15 Nov 2019, 20:37
by drakus
In remote mode , the _uiView.MouseButtonDown return false , I don't know why currently
Re: Event noesis mouse remote
Posted: 18 Nov 2019, 15:13
by jsantos
In remote mode , the _uiView.MouseButtonDown return false , I don't know why currently
That function returns false whenever the event is not being handled, so for example, when clicking in an empty area.
Re: Event noesis mouse remote
Posted: 18 Nov 2019, 17:25
by drakus
Do I assign the correct window to handle events ?