aka.leapmotion icon indicating copy to clipboard operation
aka.leapmotion copied to clipboard

aka.leapmotion does not output data when Max is in background

Open petermcculloch opened this issue 10 years ago • 2 comments

aka.leapmotion does not output data when Max is in background (not the focused application). The screenshots show Max in front vs Max in the back. I didn't notice anything in the .cpp code that would be turning off broadcasting; is there some reason for this? Maybe something in the LEAP api? Would be really helpful if aka.leapmotion could continue to broadcast when in the background.

maxinfront maxinbackground

petermcculloch avatar Sep 20 '14 05:09 petermcculloch

Any workaround?

gjacquemin avatar Jul 01 '15 09:07 gjacquemin

Ok, need to set some flags (https://support.leapmotion.com/entries/39981046-Testing-Background-Leap-Applications). I don't have ressources to compile new binary and the last commit seams broken… Just add right after the leap controler declaration:

leap->setPolicyFlags(Controller::POLICY_BACKGROUND_FRAMES);

gjacquemin avatar Jul 01 '15 09:07 gjacquemin