Skip to main content

Program Button

Sets the behavior of a button.

Request

012345678910111213141516171819202122232425262728293031
1017BT

Request Structure

ByteValueSizeTypeDescription
0101BINJ-PORT address
1171BINProgram Button instruction code
2B1BINJoystick button number (1..200)
3T1BINButton type (see table)

Button Type

TypeBehavior
0Push button
1Toggle button
2Inverted Push button
3Inverted Toggle button

Response

012345678910111213141516171819202122232425262728293031
1017V

Response Structure

ByteValueSizeTypeDescription
0101BINJ-PORT address
1171BINProgram Button instruction code
2V1BIN1 if successful, 0 otherwise