Skip to content

r57zone/Razer-Hydra-SteamVR-driver

 
 

Repository files navigation

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.