mdjarv / JoystickVisualizer

Joystick Visualizer software, currently made for the Thrustmaster Warthog
81 stars 28 forks source link

Support for x-56 / thanks #14

Open HellerCommaA opened 6 years ago

HellerCommaA commented 6 years ago

Any plans on adding support for x-56? If not, I may submit a PR.

I use this on stream with my TM hotas warthog (twitch.tv/eodtech) and it works like a champ. Thanks!

mdjarv commented 6 years ago

I've gotten a lot of requests for different sticks, throttles and rudders lately and since I'm not very skilled in 3D modeling I am considering creating a generic stick and throttle model to use for this purpose.

It would also be possible to just apply the X-56 axis movement to the Warthog model, but I would need help with getting USB IDs and axis names right. Easiest would be to do this over Discord (link is in the README.md) as it requires some back-and-forth

brittz commented 6 years ago

I've tested X-52 and only throttle was indentified. Maybe I can help you with USB IDs, etc if you want. I also have Saitek Yoke and Saitek Quadrant. I think would be nice see this working, even with Warthog model.

Great work!

mdjarv commented 6 years ago

A X-55 throttle model is in the works, would probably be best to use that for the X-56

For the X-52 throttle and stick we could absolutely reuse the warthog models until someone makes/finds a better alternative.

The X-52 throttle ID has been added to the Proxy but I'm not sure if I've wired it up to any models in the Visualizer yet, but if you can help me the USB id's for the stick I'll work something out.

SilverlightPony commented 6 years ago

@mdjarv I'd be willing to help with the x52 (specifically, x52 pro) ID's, I'd just need some guidance as to how.

brittz commented 6 years ago

@mdjarv In the computer management I checked and the X-52 ID is VID_06A3&PID_075C. I think does not have an individually ID for the stick, I don't know. Here is the thing, in the [JoystickProxy.exe] I can see all input from throttle and stick, but in the [JoystickVisualizer.exe] I only see the 3D model for Warthog throttle (is working) but nothing about the stick. Is anything I can do to help you?

mdjarv commented 6 years ago

@SilverlightPony thanks for the offer, however brittz seem to have beaten you to that :)

@brittz Thank you, that is very valueable information. If both stick and throttle goes under the same USB device that makes things a bit more complicated in regards to how the Visualizer handles devices...

I need to think about what would be the best way to implement such a device setup as I know there are people using only the X-52 throttle and I don't want them to see an extra stick that doesn't do anything

Funny thing is that the X-55 throttle had the exact opposite problem, with the throttle behaving as multiple devices in one

mdjarv commented 6 years ago

@brittz oh, by the way, do you think you could look at what axis-name represent what on the stick? Since we don't have a real X-52 model I suggest we skip all the buttons and rotaries and just map throttle back and forth as well as stick roll and pitch. Yaw twist is also possible but a real hassle to implement the stick rotation together with the other two so we'll leave that for later.

For the throttle I have registered that decreasing the Z number is throttle forward and I'm guessing we have X and Y for stick roll and pitch?

brittz commented 6 years ago

@mdjarv The stick is connected via PS2 port direct into a port in the throttle device, that is the reason why I think is only 1 ID for both.

I need to think about what would be the best way to implement such a device setup as I know there are people using only the X-52 throttle and I don't want them to see an extra stick that doesn't do

A fast solution is a boolean in the config file, so can easely turn on and off by the user. But that is a suggestion, you are the guy!

@brittz oh, by the way, do you think you could look at what axis-name represent what on the stick? Since we don't have a real X-52 model I suggest we skip all the buttons and rotaries and just map throttle back and forth as well as stick roll and pitch. Yaw twist is also possible but a real hassle to implement the stick rotation together with the other two so we'll leave that for later. For the throttle I have registered that decreasing the Z number is throttle forward and I'm guessing we have X and Y for stick roll and pitch?

In X-Plane joystick configuration I get this: Y for Throttle X for Roll Y for Pitch Z for Yaw

Let me know if you need anything and thank you very much for your time in this project.

mdjarv commented 6 years ago

@HellerCommaA sorry this thread got hijacked with X-52 discussions, but we have a nice X-55 model implemented now so if you can help me find the USB device ID and do some testing we'll have it working with the X-56 version as well.

This would be easiest to do this over Discord if you could

@brittz I created a separate issue #16 for the X52 devices :)