Skip to content

Capture and Select (Minus) outputs don't work in Switch mode #115

Description

@BrianAllred

The following code block only outputs either Home (if the correct combination is pressed) or Start. It never outputs Select (Minus) or Capture, it still outputs Start for those. I can move outputs.home to a different combination successfully, so I don't think it's the combinations that are the issue.

if (inputs.lt1 && !inputs.lt2) {
    outputs.select = inputs.mb1;
} else if (!inputs.lt1 && inputs.lt2) {
    outputs.home = inputs.mb1;
} else if ((inputs.lt1 && inputs.lt2) || inputs.nunchuk_c) {
    outputs.capture = inputs.mb1;
} else {
    outputs.start = inputs.mb1;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions