This is how I do it. 1. Create a button. 2. Open Universal Browser and go to Pioneer file. 3. Click Device+ 4. For "Play" (for an example) look at group 1 5. Click and Drag "Play" to your button. 6. Your button should show a blue "L" for "Learned" code.
That has worked for me when I made configs for the few friends I have.