Coder Social home page Coder Social logo

r57zone / razer-hydra-steamvr-driver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from betavr/steamvr_driver_hydra

9.0 2.0 2.0 15.05 MB

Razer Hydra Driver for OpenVR / Драйвер Razer Hydra

Home Page: https://youtu.be/xpSJYAeZLho

License: BSD 3-Clause "New" or "Revised" License

C++ 97.07% C 1.69% Batchfile 1.03% VBScript 0.21%
razer-hydra openvr steamvr vr-controller vr-controllers razer-hydra-steam-vr

razer-hydra-steamvr-driver's Introduction

EN RU ← Choose language | Выберите язык

Razer Hydra Driver for SteamVR

The driver emulates Valve Index or HTC Vive controllers using Razer Hydra controllers. The type of controllers is switched in the settings. Changeable keyboard button press and crouch are supported.

Index controller layout

Razer Hydra Left Index Controller Right Index Controller
Button 1 Button A Grip button
Button 3 Button B Crouch
Button 2, bumper Grip Button Button A
Button 4 Pressing the touchpad of the right controller Button B
Start button System button System button

Stick modes

Stick and touchpad mode Hot key
Standard mode, the touchpad is not emulated. ALT + 1
The touchpad is emulated with a stick, the stick is disabled. ALT + 2
The touchpad is duplicated by a stick. ALT + 3
The touchpad is emulated with a stick, pressing dpad left and right, on the right controller, is inverted. ALT + 4
The touchpad is emulated with a stick, dpad up and up on the right controller are inverted. ALT + 5

Vive controller layout

Razer Hydra Left Vive controller Right Vive Controller
Button 1 Menu button Grip button
Button 3 Pressing dpad down on the right controller Crouch
Button 2, bumper Grip Button Menu button
Button 4 Changeable keyboard button press, by default, this is the V Pressing dpad up on the right controller.
Start button System button System button

Stick modes

Stick and touchpad mode Hot key
Standard mode. ALT + 1
Presses on dpad left and right on the right controller are inverted. ALT + 2
All presses are inverted, except for dpad up and up on the right controller. ALT + 3
All clicks are inverted. ALT + 4

Other features

Description Razer Hydra Button
Turning on, off crouch ALT + 9 and ALT + 0 (replaced to touchpad press)
  • For HMD, you can use any driver that supports crouch by button. For example, you can use OpenVR-ArduinoHMD Driver or OpenVR-OpenTrack drivers for HMD (FreeTrack for HMD from smartphones or ArduinoHMD for full-fledged DIY headsets). By default, this is the PAUSE button, you can change it in the "default.vrsettings" configuration file, the CrouchPressKey parameter, the name of the desired button can be found here.

  • You can change the type of controllers from Valve Index to HTC Vive by changing the value true to false, parameter IndexControllers, in the configuration file "default.vrsettings", parameter CustomPressKey

  • While pressing button 3, on the right Razer Hydra controller, the keyboard button is also pressed (the button is configurable). Crouch settings can be found in the configuration file "default.vrsettings".

  • Supports pressing the keyboard button, on button 4, of the left controller. By default, this is the V button, you can change it in the "default.vrsettings" configuration file, the CustomPressKey parameter, the name for the desired button can be found here. You can turn it on in the configuration file by changing the value of false to true, the EnableCustomKey parameter and it will replace pressing the controller touchpad.

  • You can also edit the controller layout in the "SteamVR Bindings UI" by opening the SteamVR settings, selecting "Advance Settings" -> "Show" and going to the controllers item.

Installation

  1. Download the latest driver.
  2. Unpack archive to "..\Steam\steamapps\common\SteamVR\drivers".
  3. Add option "activateMultipleDrivers" : true, to config "...\Steam\config\steamvr.vrsettings", to steamvr section.
  4. Change the dead zone if your stick goes to the side in config "..\Steam\steamapps\common\SteamVR\drivers\razer_hydra\hydra\resources\settings\default.vrsettings", option JoyStickDeadZone. To determine the value of the dead zone can use this program.

Problems solving

• The stick is tilted to one side and does not move to the opposite side
Close SteamVR, unplug the controllers USB cable, wait 5-10 seconds and plug it back in.

• Driver don't work:

  1. Uninstall the previous installed driver on Steam or folder.
  2. Download the MotionCreator utility (official utility by Sixence), switch "Controller Mode" to "Motion controller" mode.
  3. Remove MotionCreator.

If it doesn’t help, try another utility RazerHydra [1][2] (official utility by Razer).

• The cursor moves:
Uninstall MotionCreator or RazerHydra utility.

• Controllers spin insanely when pushed away from the base station (like that)
The main coil contacts going into the circuit are oxidized and need to be stripped, scratched or soldered directly without a connector.

Building

  1. Download the sources and unzip them.
  2. Download "openvr" and unpack to "C:\openvr".
  3. Download "SixenseSDK_102215.zip" and unpack to "C:\SixenseSDK_102215".
  4. Download and install Microsoft Visual Studio Code 2017+.
  5. Change the SDK version and toolset to yours in the project properties, then select the "Release" build type and "x86" or "x64" architecture and compile.

razer-hydra-steamvr-driver's People

Contributors

betavr avatar bjj avatar connerbrooks avatar gitter-badger avatar r57zone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

razer-hydra-steamvr-driver's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.