Lasse-B / Sx2vJoy-test

Sx2vJoy test build
47 stars 8 forks source link

Buttons don't work with SpaceMouse Pro Wireless #5

Open LucaOverflow opened 2 years ago

LucaOverflow commented 2 years ago

Hello there, I'm not sure if this project is still maintained but I hope so. The 6 Axis movement is working like a charm, however I cannot bind my buttons to vjoy buttons. I've tried it in the GUI with the SpaceMouse Pro even though I'm using the wireless version. Sadly this isn't working. The Button-ID's of the wireless version are the same and are recognized by Sx2cJoy.

It would be very nice if someone could point me in the right direction.

Greetings

firereverie commented 2 years ago

Also having this issue.

Log contents: 50737 12 13 14 15 22 24 25 23 0 8 2 26 5 4 1

Mapped as follows on the device: ID12 = 1 ID13 = 2 ID14 = 3 ID15 = 4 ID22 = ESC 24 = Shift 25 = CTRL 23 = ALT 0 = Menu 8 = Roll 2 = T (Top View) 26 = Rotation 5 = F (Front View) 4 = R (Rear View) 1 = Fit

If there's any additional information or testing I can do to facilitate the addition of button functionality on the SMPW (50737) please let me know, and thanks for all your hard work.

Cheers, fire

firereverie commented 2 years ago

Fixed*, pending pull request (assuming I did that part right lol).

Edit: *Luca, did you do CTRL+B and log your button presses, did your first line "50737" match mine or was it '50738'? If they matched than my fix should fix yours as well, if you had '50738' then anouther line of code is needed, I just didn't want to commit changes I couldn't test.

LucaOverflow commented 2 years ago

Edit: *Luca, did you do CTRL+B and log your button presses, did your first line "50737" match mine or was it '50738'? If they matched than my fix should fix yours as well, if you had '50738' then anouther line of code is needed, I just didn't want to commit changes I couldn't test.

Good question... I moved on to a dual joystick setup short after since flying a ship in star Citizen with one knob didn't feel very natural. This means Sx2vJoy is no longer configured on my pc.

I could reinstall it if I find the time. Otherwise the next one with this problem hopefully stumbles over this issue or pull request to add that line if necessary.

Hunteil commented 1 year ago

I might be able to help with that tonight. I just got a SpaceMouse Pro Wireless and have been wanting to use one with the game Space Engineers for 2 years now lol. I'm curious to see if I can use it to build /rotate blocks and control myself in 3D space. I'm so tired of ending up sideways/upside down on Earth like gravity when I turn my head 3 times in a jetpack or mining ship lol. But I'm not sure... navigation is usually handled by the mouse curser movement so I'm not sure how this will work for mapping. I'll try it out tonight I guess. If you have any recommendations/tips please don't be a stranger. :-)

Hunteil commented 1 year ago

Download link was broken.

firereverie commented 1 year ago

I might be able to help with that tonight. I just got a SpaceMouse Pro Wireless and have been wanting to use one with the game Space Engineers for 2 years now lol.

If you follow the logging instructions in the readme and get the same output that I have posted above beginning with "50737" then you should be able to use the same changes I made and submitted as a pull request. That being said, the original author seems to have abandoned this project as that pull request has been pending for quite some time. Otherwise, if you're only after axis support without buttons, the original version should work fine, assuming SE supports joystick axis mapping.

Download link was broken.

?