KeyPress_v2 Op

KeyPress

Triggers when a key is pressed


<p>Triggers every time a key has been pressed. Click inside the renderer and hit a key, you will then see the <code>Key Code</code> change. <em>KeyPress</em> uses the <code>Character</code> key codes, an <code>a</code> e.g. will result in the key code <code>97</code>.</p>


Full Name
  • Ops.Devices.Keyboard.KeyPress_v2
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


Example Patch keypress trigger example

example for Ops.Devices.Keyboard.KeyPress

Open In Editor

INPUT PORTS


Area index (Number:

<i>integer</i>

)

Prevent Default (Number:

<i>boolean</i>

)

Enabled (Number:

<i>boolean</i>

)

OUTPUT PORTS


On Press (Trigger)
Key Code (Number)
Key (String)

Patches using KeyPress_v2

  • Examples
  • Public
  • My Patches

Changelog


Ops.Devices.Keyboard.KeyPress renamed to Ops.Devices.Keyboard.KeyPress_v2user avatarstephan - 2022-03-14 14:54
added area-input, enable/disable and key-name outputuser avatarstephan - 2022-03-16 15:47