hi
Description
Provides input from human interface peripherals (i.e. Trackpad, Keyboard, and others).
Examples

Affect the pitch and duration of notes
Arguments
Attributes
Common Box Attributes
Messages
bang
int
Arguments
index
[int]
An incoming
causes the object to focus on the device in the device list with that index. anything
Arguments
device
[list]
Sending the name of any device to the hi object will set the object to focus on the specified device.
clear
The message
will reset all values set using the and messages to their default values. delta
Arguments
element
[int]
The word hi object to report an event from the specified element only if it is different then the last value that was reported.
, followed by an integer that represents an element of the device will cause the ignore
Arguments
element
[int]
The word
, followed by an integer that represents an element of the device, disables event reporting from the specified element. info
The
message causes device information to be output to the Max console. menu
The
message causes a device list to be output from the right outlet in a format fit for a object. poll
Arguments
output-time
[float]
The word
, followed by a number, sets the time in milliseconds between outputs of the event queue. The message 0 disables automatic polling. Output
list
The object collects data from the selected device and will output all collected data when a
or a timing trigger from to a message is received. Data is output as a two-element integer list; he first element represents the element of the device to which the data applies, and the second element represents the data value.See Also
Name | Description |
---|---|
Using Max with Hardware | Using Max with Hardware |
key | |
keyup | |
Max Comm Tutorial 1: Human-Interface Devices | Max Comm Tutorial 1: Human-Interface Devices |