Skip to content

Failed to press A button. #62

Open

Description

@RayPS

First for all, I'm so impressed by this brilliant project after researching on lots of hardware based solutions.
However, there might be an issue where the A button doesn't getting pressed at the beginning. Instead the +/- button was somehow pressed and the controller help menu from Switch shows up. The plot is also likely offsetted.
(See my recording below)

I'm using the Pre-configured Image.

Screenshot.2023-01-07.at.21.02.39-converted.mp4

Activity

  1. RayPS commented on Jan 7, 2023

    @RayPS
    Author

    After diving into the code, I believe it should be L_STICK_PRESS button instead of MINUS button to reset the canvas.

    # Goto (0,0) point and clear
    command_list: list[Union[Button, tuple[Button, int]]] = []
    reset_command = reset(['left', 'up'])
    if stable_mode:
    command_list += reset_command
    command_list.append(Button.MINUS)
    else:
    for button, press_time in reset_command:
    connection.button_hold(button, duration_ms=press_time)
    connection.button_press(Button.MINUS)

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