OSVR / OSVR-Leap-Motion

OSVR Leap Motion plugin
Apache License 2.0
18 stars 14 forks source link

Wait for Leap controller to respond that device is connected #20

Open gfrolov opened 8 years ago

gfrolov commented 8 years ago

I found that sometimes it takes a little while for Leap Motion controller to respond that device is connected. The plugin only checks once during HardwareDetection, which is usually too fast for controller to respond. I added a condition to check if device is connected a few times before giving up on it.

andresodio commented 8 years ago

Thank you! This definitely fixes the "is not connected" issues. I hope this gets merged into master soon.