| primitive | 
input data | 
output | 
description | 
 
| send fader values | 
none | 
fader value bytes | 
returns all faders | 
 
|   | 
  | 
(immediate) | 
  | 
 
| send button values | 
none | 
button value bytes | 
returns all buttons | 
 
|   | 
  | 
(immediate) | 
  | 
 
| send wheel counts | 
none | 
wheel count ints | 
returns all wheel counts | 
 
|   | 
  | 
(immediate) | 
  | 
 
|   | 
  | 
  | 
since last poll | 
 
| set LED values | 
byte masks | 
none | 
sets LEDs on or off based on masks | 
 
| set 7-segment | 
display id and value | 
none | 
sets 7-segment display to value | 
 
| LCD string write | 
LCD id, string, x, y | 
none | 
displays string at x,y on LCD | 
 
| LCD bitmap display | 
LCD id, sx, sy, data | 
none | 
displays sx*sy bitmap on LCD | 
 
|   | 
x, y | 
  | 
at position x,y | 
 
| menu handler | 
menu items, type, | 
item id | 
scrollable menu handler | 
 
|   | 
x, y | 
(when selected) | 
allows host to create menu options. | 
 
|   | 
  | 
  | 
user selects, host is notified of choice. | 
 
| text data entry | 
string length, x, y | 
string | 
allows user to enter | 
 
|   | 
  | 
(when done) | 
string 'arcade style' | 
 
 
 |