First, you have to define OEM triggerrs in Settings/Ports and Pins, i.e. where your switches are connected.
Also you have to define where your encoder is connected
In the brain that I posted as image, I used to use el-cheapo encoder with integrated push button which was used to toggle Jog On/Off to be able to select and jog an axis at the predetermined distance-per-click.
That brain was used years ago, the pendant was sorta diy from acrylic and was made just for fun