Open the clipboard, go to options, controllers, go to map controllers. From there, hit the button you want to program. When it is highlighted, choose a function from the left that matches what you're looking for.
For voice, (from memory) it is a global setting for both range and tuned channel vox. For rudder trim control, it is under flight.