Skip to content

problem when pressing and holding key #5049

Description

@skp10

I am using the latest version of processing which is 3.3.3.

just add this code to processing and when you run the code, hold any key for (5 sec) and release it.
IT WOULD NOT TURN BACK TO (FALSE)

void draw() {
  if (keyPressed) {
    println(true);
  } else {
    println(false);
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions