I think I am using the default for my 3GS:
If the phone is locked, it brings up iPod controls.
If the phone is unlocked and not playing music, it brings up camera.
If the phone is unlocked and playing music, it brings up iPod controls.
Nicely implemented in my opinion.