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

DDI cleanups and bugfixes #909

Merged
merged 12 commits into from
Apr 1, 2024

Conversation

bsstephan
Copy link
Contributor

@bsstephan bsstephan commented Mar 23, 2024

This...

  1. Cleans up the code for the DDI addon, especially moving most of the logic formerly in preprocess() into process(), and subsequently making process() easier to read.
    2. "Soft deprecates" Combination Mode Gamepad Override, which was at best a duplicate of DDI Override with different pin mappings, but also had some logic issue somehow, so it was also buggy (see discussion in Dual Directional Input cleanups/bugfixes #725)
  2. Fixes DDI in DDI mode does not remember previous state of cleaned button presses on gamepad #823
  3. Resolves Dual Directional Input cleanups/bugfixes #725 (including fixing the Gamepad Override bug mentioned within)

@arntsonl
Copy link
Contributor

I'm going to leave this one until after release as DDI is such a funky beast.

Would also be very worth asking our users who many folks used mixed in a stick/button combo and maybe if its used by Tekken folk.

@bsstephan bsstephan changed the title DDI improvements and cleanups DDI cleanups and bugfixes Mar 24, 2024
Gamepad is buggy, and both modes don't seem to have use cases. we are
soft deprecating these for the moment, only making them work like Mixed,
rather than actually migrating them to a new mode, for now
I think this is just a vestige of how things used to work, it makes no
discernable difference in my testing.

in order to start showing my work, I also added a simple piece of
documentation to describe how the modes work
this replaces the gamepad output with the DDI output (no combination or
re-cleaning), which is interesting for situations like gamepad holding
one axis and DDI pressing the other, letting you essentially toggle
between the two axis with a press/release

Fixes OpenStickCommunity#823
since DDI Override was pretty easy to bring back with the new code, we
might as well just bring Gamepad Override back since it's the same
logic, just flipped. added more docs while I was at it.
Copy link
Contributor

@arntsonl arntsonl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good changes, documents dual directional and gives us better control over the inputs.

@arntsonl arntsonl merged commit dea263d into OpenStickCommunity:main Apr 1, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants