It is currently Wed Feb 22, 2017 1:40 pm



Reply to topic  [ 9 posts ] 
 WiiMote -> Hydra -> ViveWand (in Rift)? 
Author Message
One Eyed Hopeful

Joined: Sun Apr 27, 2014 5:20 pm
Posts: 9
I'm new to FreePIE, so any pointers/help with this would be greatly appreciated.

I've got an Oculus Rift with a Leap Motion controller.
The Leap allows me to play Vive titles in SteamVR. It's great, but the button gestures kinda suck. Hopefully that'll improve, but for now my idea is to use the WiiMote buttons as the Vive Wand buttons and continue to use the LeapMotion controller for tracking.

I've got my WiiMote connected and working through the Toshiba bluetooth stack and WiinRemote.
WiinRemote can map the buttons to key presses, so I could possibly substitute it for FreePIE by somehow mapping the Hydra buttons to key presses? FreePIE seems like a more complete solution however.

I've got the Leap Motion controller working with SteamVR.
If I can get the WiiMote buttons to act as the ViveWand buttons, I think things would start getting very usable (it's so close already).

Any ideas on how to proceed?
Thanks
Jim


Fri Jun 17, 2016 2:55 am
Profile
One Eyed Hopeful

Joined: Tue Jul 05, 2016 2:27 pm
Posts: 4
Im looking for this myself. If i find something I will post it here.

Tim


Tue Jul 05, 2016 2:40 pm
Profile
Online
Cross Eyed!
User avatar

Joined: Thu Apr 09, 2015 4:27 am
Posts: 102
jimrooney wrote:
I'm new to FreePIE, so any pointers/help with this would be greatly appreciated.

I've got an Oculus Rift with a Leap Motion controller.
The Leap allows me to play Vive titles in SteamVR. It's great, but the button gestures kinda suck. Hopefully that'll improve, but for now my idea is to use the WiiMote buttons as the Vive Wand buttons and continue to use the LeapMotion controller for tracking.

I've got my WiiMote connected and working through the Toshiba bluetooth stack and WiinRemote.
WiinRemote can map the buttons to key presses, so I could possibly substitute it for FreePIE by somehow mapping the Hydra buttons to key presses? FreePIE seems like a more complete solution however.

I've got the Leap Motion controller working with SteamVR.
If I can get the WiiMote buttons to act as the ViveWand buttons, I think things would start getting very usable (it's so close already).

Any ideas on how to proceed?
Thanks
Jim

It appears you should be able to use XOutputPlugin to emulate an xbox controller using a wiimote while pointing at something in the menu (I'm not sure about in-game) with the code:
Code:
xoutput[0].A = wiimote[0].buttons.button_down(WiimoteButtons.A)
I tested this with the code:
Code:
xoutput[i].A = keyboard.getKeyDown(Key.A)

The problem with using the Hydra driver is that it will register the button presses for two other emulated Vive controllers instead of the ones controlled with you Leap Motion.


Wed Jul 06, 2016 4:53 am
Profile
One Eyed Hopeful

Joined: Tue Jul 05, 2016 2:27 pm
Posts: 4
Uh Oh it looks like that Github link went down. You wouldn't have that file on hand would you?

Edit: Nevermind its my horrible internet connection.

Thanks!


Wed Jul 06, 2016 7:14 pm
Profile
One Eyed Hopeful

Joined: Tue Jul 05, 2016 2:27 pm
Posts: 4
Ok thats not quite what im going for. I can use Xpadder (or many other options) to convert the wiimote into keyboard presses. The leap motion driver as far as i know will work along side the Vive controller giving both hand tracking and allowing the vive buttons to input. Since steam VR sees the hydra as a vive controller i was hoping there is a way to map the buttons only and use the Leap motion for orientation.


Wed Jul 06, 2016 8:02 pm
Profile
One Eyed Hopeful

Joined: Sun Apr 27, 2014 5:20 pm
Posts: 9
Hrm. Yeah. I've been working with the Leap Motion and PS Move lately and one does seem to be the "active" controller, while the other is inactive... so the merging would seem to be necessary before hitting SteamVR.
(The inactive controller's buttons are essentially meaningless)

That makes things a tad harder as I'd need to map the Leap's 3d position and orientation to the Hydra and then the WiiMote buttons to the Hydra and then feed all that into SteamVR as one controller.

A bit of a stretch for someone just learning FreePIE ;)


Sun Jul 31, 2016 5:22 am
Profile
One Eyed Hopeful

Joined: Sun Aug 21, 2016 3:16 pm
Posts: 2
was any progress ever made on this? im trying to do the exact same thing as OP. im using a leap for tracking, and i have a wiimote and nunchuck i want to use just for buttons.


Sun Aug 21, 2016 3:24 pm
Profile
One Eyed Hopeful

Joined: Wed Nov 23, 2016 3:29 pm
Posts: 1
I want to do what you ware trying to do but I want to use Kinect V1 (xbox 360 kinect) for the tracking the motion and like you wiimotes just for the buttons.
I wiil be so glad for any help with this idea.


Fri Nov 25, 2016 11:51 am
Profile
One Eyed Hopeful

Joined: Tue Aug 30, 2016 10:39 pm
Posts: 2
I was thinking what if you get two wii remotes and plug two nun chucks in. Bluetooth connect to pc and track the nunchucks with leap motion. Nunchucks have similar buttons to vive wands


Sat Feb 04, 2017 10:55 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: zelmon64 and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.