cbuchner1 / driver_leap

OpenVR Driver for Leap Motion
BSD 3-Clause "New" or "Revised" License
220 stars 73 forks source link

Support of bluetooth of joysticks #10

Open Zeed80 opened 8 years ago

Zeed80 commented 8 years ago

Make, please, support of bluetooth of joysticks. Tracking - hands, pressing of buttons - the joystick. http://i057.radikal.ru/1606/14/1e0bd0645735.jpg

Levi777L commented 8 years ago

I am going to also be tinkering with this idea. Leap Motion tracking + Wii Remotes for button pressing with Mayflash Wireless Sensor Dolphin Bar

Nobbs66 commented 8 years ago

sensor bar is completely pointless since you'd need a massive amount for that idea to be useful Support for the buttons would be excellent though

ajayyy commented 8 years ago

WiiMote support would be great, I might try to get it working too once my kinect usb cable ships for roomscale.

ajayyy commented 8 years ago

Actually, it looks like the leap motion can't sense your hands while holding a Wii remote, I might try adapting this into a Kinect plugin with wiimote support.

Nobbs66 commented 8 years ago

Worked ok when I tried a small flashlight. The only thing was the hand orientation was off

On Wed, Aug 3, 2016 at 11:26 PM, Ajay Ramachandran <notifications@github.com

wrote:

Actually, it looks like the leap motion can't sense your hands while holding a Wii remote, I might try adapting this into a Kinect plugin with wiimote support.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cbuchner1/driver_leap/issues/10#issuecomment-237449286, or mute the thread https://github.com/notifications/unsubscribe-auth/AHf_uH7CCGLMFVi460I78jvNy6tjp553ks5qcWoBgaJpZM4I8cdu .

ajayyy commented 8 years ago

Works ok if your back hand is facing the leap, but not if the remote is, which is how you hold a vive controller and a wii remote normally.

kangelon commented 8 years ago

Seems like a great idea. If tool tracking was working or a new hand model was out it would solve all the tracking problems. The wiimote with leap motion could work like a vive controller hack!

Nobbs66 commented 8 years ago

It would kind of work like a vive wand. Being able to hold an xbox controller sideways could also kind of work. It's not very comfy but xinput may not be too bad to integrate, and you could map one of the sticks to the touch pad.

On Thu, Aug 4, 2016 at 1:14 AM, kangelon notifications@github.com wrote:

Seems like a great idea. If tool tracking was working or a new hand model was out it would solve all the tracking problems. The wiimote with leap motion could work like a vive controller hack!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cbuchner1/driver_leap/issues/10#issuecomment-237462089, or mute the thread https://github.com/notifications/unsubscribe-auth/AHf_uIGmFpb1sUX6jWDG9n8K6ZlZd_FAks5qcYNSgaJpZM4I8cdu .

ajayyy commented 8 years ago

Leap motion isn't too good at sensing hands holding objects in my testing. Is it different for you guys?

kangelon commented 8 years ago

I am sure its really easy to make a DIY controller for your hand. I will try to use an old wireless gamepad that still works and extend the buttons to a slim glove. Its easy to use a button that is pressed when you touch your index finger with the top of your thumb and the middle finger with the base of the thumb to simulate grab and click. More buttons are available and a hat switch could emulate the touch pad. Only problem i see is mapping those buttons to simulate vive...

ajayyy commented 8 years ago

Actually, the Wii remote works great with leap motion. I do not know why it wasn't working earlier.

Nobbs66 commented 8 years ago

@Ajay-Ramachandran have you implemented direct input support for the wii motes?

ajayyy commented 8 years ago

@Nobbs66 No, I decided to wait until my Kinect cord came in to see how well that worked. I am working on the plugin now, For now I am making it a Kinect + Wiimote driver, but after I might port it back to leap motion. Since I am using Kinect for roomscale, I have to be far from the kinect, making using the leap motion kinda hard.

Nobbs66 commented 8 years ago

@Ajay-Ramachandran Ahh. I'd implement the Dinput and Xinput support myself, but the driver will never compile for me

ajayyy commented 8 years ago

I haven't tried compiling yet, oh no... I hope it works. And for Wiimotes you can use https://github.com/grandelli/WiiC

ajayyy commented 8 years ago

Did you get the error on g_ClientTrackedDeviceProvider "abstract class type not allowed", I am getting that

Nobbs66 commented 8 years ago

Yep, that's what I got every time

ajayyy commented 8 years ago

Darn

Nobbs66 commented 8 years ago

Ahh, thanks. I'll try to add some Xinput support tonight. Might be able to use an xbox controller sideways and have the analog stick for the track pad

On Mon, Aug 15, 2016 at 11:22 PM, Ajay Ramachandran < notifications@github.com> wrote:

You just have to add override in driver_leap.h

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cbuchner1/driver_leap/issues/10#issuecomment-239997584, or mute the thread https://github.com/notifications/unsubscribe-auth/AHf_uMHtOn0lqZ0FEK-3jZ7x3MgZ25ORks5qgTrugaJpZM4I8cdu .

ajayyy commented 8 years ago

You have to download OpenVR SDK 1.0.0 to fix it actually, I would love to know when your done that! Good Luck! I will be working on Kinect now.

kangelon commented 8 years ago

I am really interested on the results. The xbox controller idea is not bad at all and i would love to try it.

ajayyy commented 7 years ago

Actually i think Bluetooth controllers would work best

dilandoc commented 7 years ago

hi guys, someone could explain me how is possible to mapping a Bluetooth controller as vive wand controller's buttons in combination to leap motion hand tracking? I tried uselessly to customize steamvr.vrsettings but the open driver goes to crash.

ajayyy commented 7 years ago

@dilandoc I'm trying to do this with wiimotes and a FreePIE script (basically emulate hydras and then use the vive-hydra driver)

dilandoc commented 7 years ago

and so how's your work going on @ajayyy?

ajayyy commented 7 years ago

@dilandoc Not very well, here is a link to some people testing it: https://www.reddit.com/r/vridge/comments/5o1hk1/wiimote_leap_motion_controls_freepie_plugin/dck01zk/