Keyboard (Built-in Patch) in Controller, Device

This patch returns the current state of a customizable list of keys of the keyboard device.

Each observed key is represented by a boolean output set to True when the key is down and False otherwise. Because the keys are actually observed through the character they produce, key modifiers (like [Shift], [Control]…) matter: for example, ‘Q’ is considered different than ‘q’.

Note that this patch does not read the keyboard state directly but is dependent on the proper information being passed to the composition. This information may not always be available, depending on the environment in which Quartz Composer is running.

Input Attributes
None
Output Attributes
  • Key '↑' - True if the key "↑" is down.
  • Key '↓' - True if the key "↓" is down.
  • Key '←' - True if the key "←" is down.
  • Key '→' - True if the key "→" is down.
0 videos
1 comment
Bf9a01b6ccc05dea53134f59ff712fee
2f20174da86500788aa8a2f45b6e7f96
torbizen at 2011-02-22 14:49:15

is it passible to have this as a output device?