Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatic reconnect only works halfway #79

Open
tsmspace opened this issue Feb 22, 2024 · 5 comments
Open

automatic reconnect only works halfway #79

tsmspace opened this issue Feb 22, 2024 · 5 comments

Comments

@tsmspace
Copy link

So,, I was here a long time ago.

I have always visited the vjoyserialfeeder window and hit the disconnect button, then the connect button. But what happens is, even though the connection to vjoyserialfeeder is good , it stops feeding vjoy on a disconnect.

I was imagining that if it automatically hit this button for me when it picked up a hotplug ,, then I wouldn't have to halt my gameplay to go hit disconnect.

Even with all new cables and stuff,, my arduino stability isn't perfect all the time. As it is, I am now kind of back to visiting the disconnect button several times a session. For a while, it wouldn't happen like that but as my ports are aging it happens more frequently. But,, again,, the connection to feeder is good,, I can go and see all of my controls responding, but after a disconnect, it stops sending that info to vjoy somehow.

@Cleric-K
Copy link
Owner

I remember that I've implemented the capability to keep connected even if USB flaps. Does this work? If you unplug and plug the USB, does vjsf keep working?

@tsmspace
Copy link
Author

yes,, vsjf keeps working in that I can see all of the buttons and axis as I interact with them,, but it doesn't continue to feed it to vjoy. It continues to receive, but I need to disconnect and reconnect for it to make it to windows.

@Cleric-K
Copy link
Owner

Strange. I think this used to work. I'll have to check but maybe I'll be able to do so next week.

@Cleric-K
Copy link
Owner

I tried but can't reproduce the problem.
When I disconnect the USB cable and connect it again, the connection restores and vjoy is fed again.
I'm using vjoy 2.1.9. Are you using the same?

@tsmspace
Copy link
Author

tsmspace commented Feb 29, 2024

I am. Let me do some experimentation.

edit:::

ok. I don't actually know how to check if vjoy is being fed. I don't have a vjoy screen that shows the axis. I am using the "set up USB controllers" windows app ... but if I connect, I can see the controls move in this "set up USB controllers" , and then if I hot plug,, it no longer gets to "set up USB controllers".

edit ::: I can also confirm that I do not see these controls operating in the vjoy input visualizer. it's the same. I connect, they work, I unplug and plug back in, , vjoyserialfeeder shows them working but not vjoys monitor.

edit ::: and just to be complete, I am using your latest posted release of 1.7.1

edit again :::: ... ok I am doing the plugging repeatedly, and I have had it work one time, but then not again. and it always works in feeder. But, vjoymonitor DOES blink like it's reloading it when I hot plug every time. It just doesn't get the inputs. (except that one time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants