I want to assign the functions of DJ software other than rekordbox to the DDJ-RX's buttons and controls. Where can find the MIDI codes output from the respective buttons and controls?
See the MIDI code table.
You can download a MIDI code table from the Pioneer DJ support page.