linuxgurugamer / ksp-advanced-flybywire

Controller mod for Kerbal Space Program
MIT License
26 stars 11 forks source link

Breaking ground expansion support #23

Open paju1986 opened 4 years ago

paju1986 commented 4 years ago

Im on linux and this mod is the only way i have to use my joystick on ksp but it doesn't work to assing axis to breaking ground robotic actuactors. Could you make it compatible with controlling breaking ground robotic parts?

Regards and great mod!

gamer78374 commented 3 years ago

ah yes, I'm having the same issue with custom "steering" controls. it doesn't seem to work with advanced fly by wire.

linuxgurugamer commented 3 years ago

Sorry, not going to happen anytime soon. I'll leave this open for now, in case I can get to it

Dessix commented 2 years ago

Am I correct in my understanding that this request is for support for the Custom Axis signals?

Is there any other aspect of this beyond what is covered by "Bind controls to Custom Axis <1 - 4>" @paju1986? If that covers it, I may be able to implement this myself and submit a PR.


Edit: I made the changes that should theoretically have produced the desired effect, and, unfortunately, it seems to have not worked as anticipated. Following that, I tried to debug- but 6 hours later, I have yet to successfully get a breakpoint to be recognized despite (supposedly) successfully loading symbols and following all guidance I could find on dev environment setup for KSP.

Dessix commented 2 years ago

@linuxgurugamer I believe I've implemented this in #39, if you get a chance to review it.

I believe that PR's new functionality is sufficient as-is for the basics, but I am considering the possibility of a VST-style mapping mechanism such that each preset has a polarity (currently "invert"), an offset (to allow negatives to be used as positives), and a multiplier (for scale). These would allow 0-to-1 controls to be used as -1 to +1 and vice versa, but I want to come up with a better design to allow per-axis curves before implementing it in a separate PR.

Edit: I am now aware that #32 exists, and am somewhat saddened that I spent the day rediscovering the same thing.

Tortue95 commented 1 year ago

Hi @linuxgurugamer , can you add one of this 2 PR on master ? or can someone provide me a windows compiled version with these improvements? Thanks for this new features !

sandros94 commented 1 year ago

Is this issue the reason why rotors, servos and propellers don't work correctly when configured in a kal-1000 and assigned to throttle? (throttle at 100% will result into 50% of the actual kal value)