Skip to content

ofKeyPressed

ofKeyPressed listens for key-press events and outputs each event as a list. It can output either a simplified list containing the key or a full list containing type, key, keycode, scancode, and codepoint; the listener is enabled by default and can be toggled with setEnabled.


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 ofelia and install it. Then create an object with declare -lib ofelia -path ofelia. Finally, use ofKeyPressed or any other object from ofelia.

  • Available for .

Similar


    Comments

    Contributors