Code Monkey home page Code Monkey logo

steam-vr-wheel's Introduction

steam-vr-wheel

Wheel emulation using steamVR

News

I've got a wheel and hotas recently, and haven't had much time to work on this anyway. It will continue to work thanks to SteamVR good backward compatability, but don't expect any further updates. If anyone wants to fork and keep developing maintaining this app, they are free to do so under MIT licence.

If you just want to use this go to:

https://github.com/mdovgialo/steam-vr-wheel/releases

For developers:

Requires pyopenvr, wxpython (codename phoenix), and vjoy ( http://vjoystick.sourceforge.net/site/ Public domain )

Uses pyvjoy binding from https://github.com/tidzo/pyvjoy

Demos:

Wheel mode: https://www.youtube.com/watch?v=lb0zGBVwN4Y

Joystick mode: https://www.youtube.com/watch?v=jjb92HQ0M74

Instalation from sources (for developers):

install python 3.5+

install vjoy

with admin level cmd go to folder where is steam_vr_wheel

write:

pip install .

To run:

open cmd, write:

vrwheel

or

vrjoystick

or

vrpad

For configurator - write

vrpadconfig

press ctrl+c to stop

To uninstall:

pip uninstall steam_vr_wheel

steam-vr-wheel's People

Contributors

mdovgialo avatar meatplay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

steam-vr-wheel's Issues

Any tips on configuring the wheel in PCars?

I'm almost there in P-Cars, but running into a problem mapping the right axis wheel through the configuration assignment menu for the custom gamepad. Counter-clockwise rotation maps fine for left turns as -Z. But not matter how I spin it, I can't get Z+ to register for right hand turns. Any ideas?

I've dug around to manually edit the cfg file, but it seems pcars has it locked under a proprietary format.

The trackpad-as-wheel might also be a good-enough improvement over the gamepad stick (especially with autocentering).

Thanks! It looks very promising! I keep trying to get into driving sims, but the lack of control on the gamepad has ruined it every time.

EDIT: Looks like I got it to work somehow. Unfortunately, it's not reliable enough for me to use as a wheel. I tried switching to the track pad (-X/+X) but that also turned out to be quite erractic in PCars. Oh well.

Double joystick mode aren't grabbable

Everything is in the title,

it would be nice if the "grabbable joystick" option worked with the double joystick mode.

Or maybe make a grabbable joystick + throttle mode. ( i was planning to use one of the second joystick axis for throttle )

Pauses immediately after starting up

I get this when running the bat file, and have installed everything it asked for the release version (and the developer one, just to make sure)

C:\Users\User\Downloads\steam-vr-wheel-2.5.4\steam-vr-wheel-2.5.4>cd steam_vr_wheel_dist

C:\Users\User\Downloads\steam-vr-wheel-2.5.4\steam-vr-wheel-2.5.4\steam_vr_wheel_dist>python.exe open-vr-wheel.py

C:\Users\User\Downloads\steam-vr-wheel-2.5.4\steam-vr-wheel-2.5.4\steam_vr_wheel_dist>pause
Press any key to continue . . .

This results in uh, well, absolutely nothing happening in SteamVR...

Thumbsticks not mapped for Windows Mixed Reality Motion Controllers

Hey, I commented on your youtube video showing off the VR joystick about adding support for the WMR controllers. I've attached a picture of the debug using the double joystick script
capture looks like the sticks are showing up as Axis 2 and go from ~0 to ~1/-1 at the extremes for the X and Y.

If you need more information just let me know!

Thanks again for looking into this.

BUG

Searching for left and right hand controllers
left and right hands found
selecting default
Traceback (most recent call last):
File "open-vr-pad.py", line 6, in
steam_vr_wheel.wheel.main('pad')
File "C:\Users\NAME\Desktop\steam-vr-wheel-master\steam_vr_wheel_dist\steam_
vr_wheel\wheel.py", line 132, in main
do_work(vrsystem, left_controller, right_controller, wheel, poses)
File "C:\Users\NAME\Desktop\steam-vr-wheel-master\steam_vr_wheel_dist\steam_
vr_wheel\wheel.py", line 26, in do_work
left_controller.update(poses[left_controller.id.value])
File "C:\Users\NAME\Desktop\steam-vr-wheel-master\steam_vr_wheel_dist\steam_
vr_wheel\vrcontroller.py", line 32, in update
self.yaw = 180 / math.pi * math.atan(pose_mat[1][0] / pose_mat[0][0])
ZeroDivisionError: float division by zero

TODO: Trackpad wheel

Imagine that the trackpad is a wheel which you can spin, like in older IPODS.

That way you can have two axis/wheels/knobs which show up as seperate controls. Maybe could be used for aircraft dual throttle?

Constantly spin around in circles

Using the gamepad mode, and all it does is spin around in circles. If I just use a xbox controller it works fine, but with the vive controllers bat file, it spins and cannot play any games.
Had it working a little up until today when it decided to just spin. Tried restarting games, etc.

Problem with buttons VJOY

Hello, your application is the only one which exists at the moment to emulate an joystick with VR Controllers. It is realy good because the range of it is relative. It can be compared to a joystick having a long extension on it. The problem is that vjoy is not recognizing any buttons, just axis and even if in windows it shows input for buttons it does not in games (tested with War Thunder). It would be good if you can fix this. Used a Rift S with its touch controllers.

Not working with Oculus

I'm running 2.5.2 with Oculus Rift+Touch. It shows up in SteamVR dashboard and seems to work fine there. But when I launch any game the wheel disappears and the vJoy controller no longer registers any input. Then when I quit back to SteamVR dashboard it comes back and works again. Launch a game, stops working, repeat.

It also made my Xbox One controller stop working or even registering in SteamVR and Oculus. But it still shows up in USB Game Controllers and registers input there. Maybe that's just vJoy though.

Any tips?

Input Not Registering While In-Game On WMR

I'm running on version 2.5.2 with a dell visor. When in the steam dashboard and house, my input workes fine and displays in the config menu. However, as soon as I get into a game, it stops working. If I move my mouse from the game window, it starts working again. I move it back, it stops working. Could this have something to do with steamvr taking ownership of the device?
Edit: The movements and events are still appearing in the debug mode.

It doesn't work

Wheel is in the right position, I can move it by grabbing it. So i booted up project cars 2 and it doesn't move the wheel in game or anything

XY movement to Joystick?

Could this be used to control an analog stick as if it were emulating a mouse using just position? I was thinking this could be used to play rail shooters

Support Linux systems via python-evdev

Feature request to support using steam-vr-wheel in linux based operating systems using python-evdev or similar libraries. Given the vjoy interface that is presented here (just set button and set axis), at first glace it doesn't seem like a big jump to support another os via a wrapper.

I mostly wanted to create this issue to see if there are any plans already to do this, or if I could go ahead and start working on this myself.

ProjectCars2 does not detect steering input

I've tried to setup the wheel using the "custom wheel" setting in Project Cars 2, but it simply does not want to work. First, there is trouble registering the input, and then, even if it does detect the input from the wheel and assigns it to Vjoy X axis, it refuses to actually work in-game.

Deadzone-like behavoir in DiRT Rally 2

When mapping the steer left/right to controls in dirt rally 2, the game does not detect the x-axis movement until after turning the wheel 90 degrees to left/right. The in-game utility for viewing inputs also reports 0 movement until after crossing 90 degrees on either side, almost as if there was "deadzone". The windows controller properties properly display all rotation on the x axis.

EDIT: Never mind. Dirt Rally 2 has some dead-zone set by default. Making sure it's set to 0 solved it.

Nothing Happens

This is completely broken. When I open the bat it says "C:\Users\Dj674\Documents\steam-vr-wheel-2.5.4a\steam_vr_wheel_dist>python.exe open-vr-wheel.py" I got it to work almost at one point. Was able to open it MULTIPLE times (not sure how not sure what I did) but then couldnt get it working in game and had to restart my pc. now its broken again. which makes no sense nothing is different so if it worked before it should work now and no build works NONE of them the only one that did work for a short time was 2.5.4

force feedback

Instead of autocentering read forcefeedback to set the wheel "default" position

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.