hello i'm trying to understand this so that i can use mouse emulation with freepie and my oculus dk2. I'm currently running oculus home(i have steamvr too, dont think thats relevant). Do i need to download a sdk? if so...how...i looked at the sdk download page on the oculus website...but i don't understand what to do with them(no executable or install of anytype..do i need that? or is oculus home all i need?)......follows is the script i got online for mouse emulation....
def update():
yaw = math.degrees(oculusVR.yaw)
pitch = math.degrees(oculusVR.pitch)
deltaYaw = filters.delta(yaw)
deltaPitch = filters.delta(pitch)
if (enabled):
mouse.deltaX = -deltaYaw*multiply
mouse.deltaY = -deltaPitch*multiply
if starting:
enabled = True
multiply = 17
#oculusVR.center()
oculusVR.update += update
recenter = keyboard.getPressed(Key.PageDown)
toggle = keyboard.getPressed(Key.PageUp)
if toggle:
enabled = not enabled
if recenter:
oculusVR.center()
diagnostics.watch(oculusVR.yaw)
diagnostics.watch(oculusVR.pitch)
diagnostics.watch(oculusVR.roll)
diagnostics.watch(oculusVR.x)
diagnostics.watch(oculusVR.y)
diagnostics.watch(oculusVR.z)
Help please! "Oculus VR SDK failed to init"
Official forum for open source FreePIE discussion and development.
-
- One Eyed Hopeful
- Posts: 1
- Joined: Thu Mar 09, 2017 12:55 pm
Jump to
- Important Reading
- ↳ Get full access to MTBS and its community by registering with the links below:
- ↳ MTBS-Gallery
- MTBS' Official Article Threads & Forum Announcements
- ↳ MTBS Forum Announcements & FAQ
- ↳ MTBS News
- ↳ Neil's Messy Basement
- ↳ MTBS Articles
- ↳ MTBS Editorial User Remarks
- ↳ MTBS Game Review User Remarks
- ↳ MTBS Interview User Remarks
- ↳ MTBS-TV
- ↳ MTBS Member Blogs
- ↳ MTBS Newswire
- ↳ Contest Entry
- General Forums
- ↳ General Discussion
- ↳ MTBS Website Ideas
- ↳ User Contributed Immersive Technology News & Announcements
- ↳ Italian
- ↳ German
- ↳ French
- ↳ Russian
- ↳ Spanish
- ↳ Do it Yourself!
- MTBS Supported Projects
- ↳ Official Vireio Perception
- ↳ Vireio Perception 4.X
- ↳ Vireio 4.X Game Support
- ↳ Vireio Perception 3.X and BELOW
- ↳ Development / General Discussion
- ↳ Game Support
- ↳ Config & Shader Profiles
- ↳ VRBoost Profiles
- ↳ FreePIE
- ↳ Minecrift
- General Virtual Reality Discussion
- ↳ General VR/AR Discussion
- ↳ Game Settings
- ↳ General Discussion
- ↳ VR/AR Research & Development
- ↳ Physical VR Tools
- ↳ 360-Degree VR Filmmaking / Discussion
- Immersive Technology Products
- ↳ HTC Vive
- ↳ Oculus VR
- ↳ Sony PSVR
- Stereoscopic 3D Entertainment, Hardware & Software
- ↳ General Stereoscopic 3D Discussion
- ↳ I'm New To Stereoscopic 3D!
- ↳ 3D Displays
- ↳ 3D HDTVs
- ↳ 3D Monitors
- ↳ 3D Glasses
- ↳ 3D Projectors
- ↳ DDD
- ↳ Best Game Settings (DDD)
- ↳ DDD Tridef Ignition Driver Forums
- ↳ NVIDIA
- ↳ S-3D Game Settings (NVIDIA GeForce 3D Vision)
- ↳ NVIDIA GeForce 3D Vision Driver Forums
- ↳ Nvidia 3D Vision Fixes, Solutions and Troubleshooting
- ↳ Old School S-3D Solution Support
- ↳ Nvidia Legacy Drivers
- ↳ iZ3D Legacy Drivers
- ↳ 3D Console Gaming
- ↳ 3D Movies (Blu-Ray and Theater)
- ↳ GameGrade3D Discussion
- ↳ Stereoscopic 3D Hardware Technical Support
- ↳ Favorite Online S-3D Videos
- Technical Support
- ↳ General Hardware & Software Technical Support
- ↳ General AMD/ATI Discussion
- ↳ General NVIDIA discussion