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

Combine AxisToAxis plugins #47

Closed
spadino opened this issue Oct 11, 2018 · 2 comments
Closed

Combine AxisToAxis plugins #47

spadino opened this issue Oct 11, 2018 · 2 comments

Comments

@spadino
Copy link
Contributor

spadino commented Oct 11, 2018

As per our Discord conversation, I suggest a kind of logical grouping for Axes. I propose a modifications to actual AxisToAxis plugin to be able to accept 1 to 3 input/output - linear, circular, spherical movements - so to avoid cluttering the select dropdown with three different plugins.

@Snoothy @evilC
It could be done implementing a dropdown control inside the plugin witch permits to choose between 1, 2 or 3 i/o, and an hook which reload the plugin with the current configuration.

@evilC
Copy link
Collaborator

evilC commented Dec 7, 2018

I don't think it could be done like this without fairly major changes - how many inputs a plugin has is controlled by the source code of the plugin.
This is also potentially less efficient at run-time, as more checks need to be made etc.
Additionally, when moving from 1 to 2 to 3 axes, you may well want different DeadZone code etc (AxesToAxes has a circular dz).

@Snoothy
Copy link
Owner

Snoothy commented Jan 1, 2019

Plugins have a specific amount of inputs and outputs at compile time, by design, and won't change any time soon

@Snoothy Snoothy closed this as completed Jan 1, 2019
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

3 participants