Wiring that thing should be pretty simple. If you make this the P1 joystick, the 4 micro switches are wired to the encoder's P1 up/ P1 down/ P1 left / P1 right / GND pins and the two buttons are wired to P1 button 1, P1 button 2 and GND. So you need a daisy chain for GND and six wires for the micro switches and the buttons.