Home Nodes Channel nodes 

Keyboard channel node

Receives ascii input from the keyboard, and outputs channels for up to nine keys.

This chop receives ascii input from the keyboard, and outputs channels for up to nine keys. It creates a single-frame channel representing the current state of each key.

The channel for a key is created by putting a channel name string into one of the Name parameters, and selecting that key from the corresponding Key menus. Each key event gets routed to one destination in order of priority:

1) Input field (only if selected) 2) CHOPs (only if used) 3) Anywhere else.

A textport command states where each key is routed (wrt Keyboard chops).

Intercept Mode

The Keyboard chop can only be used while in “Intercept” mode. To enable Intercept mode, you need to have the Scroll Lock on. The Scroll Lock key is located at the top right of keyboard after the row of Function keys.

When in Intercept mode, the Houdini Playbar will change to an orange color and all keyboard input will be redirected to any Keyboard chops. This means you cannot access any regular keyboard short-cuts (such as View state keyboard short-cuts, edit OP parameters, or use the Textport) while Intercept is on.

To use the numbers on the Keypad, you need to have ~ turned on.

The Mouse and Keyboard chops are often connected to the Position and Active inputs of the Record chop to enable the recording of channels.

Parameters

Keys 1 to Keys 3

Name 1-9

The name of the channel that monitors the selected key. If blank, a channel will not be created.

Type 1-9

Determines which of the several key modes is chosen:

Momentary

This is simply the up/down state of a key. 0 is up and 1 is down.

Toggle

This toggles the key state. Push once and it goes on (1), push again and it goes off (0).

Count

This increments the channel value by one every time the key is pressed. If the ALT key is also pressed, the channel value is decremented instead.

Pulse

This produces a one-frame pulse when a key is pressed.

Time

This returns the length of time that the key has been held down. It only works when the time bar is playing.

Key 1-9

The Key selector, where valid keys are the numbers 0-9, letters A-Z, and keypad 0-9.