Colmanian / AuthentiKit-Trim-Calibration

Maps game controller physical buttonsto virtual outputs that can be tuned for an optimal in-sim experience. Outputs can be virtual axes, or vitual buttons. A typical use would be mapping your Sptifire Mk IX elevator trim wheel to a single virutal axis that you use in sim. What's more, you can tune the sensitivity of the axis to aproximate the correct turn rate of the trim wheel in sim.
15 stars 4 forks source link

Mapping the same button to multiple mappings causes the app to fail #30

Closed Colmanian closed 1 year ago

Colmanian commented 2 years ago

If you map the same button to multiple mappings the app gets into a really weird state. We should support the same button in multiple mappings, or fail gracefully.

To recreate

  1. Create a button to axis mapping for a trim wheel.
  2. Create two button to button mappings for the same trim wheel (one for up and one for down).
  3. Run all three mappings

You'll notice that no vJoy outputs work, and further more if you close the app and reopen it it won't pick up any vJoy outputs anymore until you restart your PC.

Desired behaviour

Stretch Goal This could be related to other problems where people have referred to vJoy 'crashing'. I could do with detecting if there's a problem with vJoy every few seconds or something.

Colmanian commented 1 year ago

Can't recreate now. Maybe it's because i'm running vJoy 2.1.9 rather than what I was doing before, which was vJoy 2.2.1.

Will advise people try using the older 2.1.9 if they have vJoy reliability issues.