Hello everyone, first of all I'd like to say that my question is about programming in c# on Visual Studio, and I'd like to thank anyone helping me on this project.
So here's the thing, I'm trying to retrieve data from the FrameReady event. As in the HelloWorld tutorial, the FrameReady event triggers a function inheriting from the SampleListener class. In HelloWorld tutorial, here's the line :
> controller.FrameReady += listener.OnFrame;
with the function > OnFrame describing the hands and finger detected by the leap motion.
Therefore, being inspired by the way this function works, I've tried to create my own function named LettreG still inheriting from the SampleListener class.
However, I need to retrieve data from that LettreG function, and for using is just as in the HelloWorld tutorial, the LettreG function HAS to be a void one.
So here's my question, how do I do if I want to have
> public bool LettreG (object send, FrameEventArgs args), returning if whether or not the gesture is correct.
And not
> public void LettreG (object send, FrameEventArgs args)
do I have to call it in a different way than > controller.FrameReady += listener.LettreG;
Thank you for responding, any kind of help will be much appreciated.