Skip to main content

Change Button Number

Sets a new joystick button number to an encoder center push-button connector. Each encoder pair has a center push-button that can be mapped by J-PORT. These push-buttons can be assigned to any joystick button number between 1 and 200. They are internally connected via a virtual connector. There are four of these with the following connector numbers:

Instrument EncoderInternal ConnectorDefault Joystick Button NumberInternal Functions
COMM11YES
NAV22YES
ADF33NO
XPDR44NO

Notes:

  1. COMM and NAV encoders have internal functionalities (e.g., swap frequencies) that will always perform these functions regardless of remapping. However, these can still be re-mapped to other joystick buttons if needed.
  2. ADF and XPDR encoders do not have internal functionalities but can also be mapped to any joystick button number.

See RNS Features in the beginning of this chapter for more detail.

Request

012345678910111213141516171819202122232425262728293031
ID80CN

Request Structure

ByteValueSizeTypeDescription
0ID1BINRNS address (ID)
1801BINChange Button Number instruction code
2C1BINConnector (1, 2, 3, or 4)
3N1BINJoystick button number (1-200)

Response

012345678910111213141516171819202122232425262728293031
ID80V

Response Structure

ByteValueSizeTypeDescription
0ID1BINRNS address (ID)
1801BINChange Button Number instruction code
2V1BIN1 for successful, 0 otherwise