Skip to content

keypress

The keypress object detects presses of a single computer keyboard key, outputting either a bang or a toggle (1 for pressed, 0 for released). It can be configured with a specific key symbol or dynamically "learn" a key press, saving it as an argument. The object filters out auto-repeated key presses and those made in edit mode, making it suitable for interactive control.


AI Generated

This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.


  • Download via Deken.

    Open Pd and go to ToolsFind Externals. Search for else and install it. Then create an object with declare -lib else -path else. Finally, use keypress or any other object from else.

  • Library developed mainly by Alexandre Torres Porres.
  • Report Bugs/Errors here!
  • Available for .

Similar


    Comments

    Contributors