NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
#define BTNRIGHT   BTN2

The right button.

Examples:
ex_buttonpressed.nxc, ex_sysreadbutton.nxc, and ex_xg1300.nxc.