basically you have it right
you go to rat shack and buy an adaptaplug cable, add a type b(i think) for the battery end and if they have a proper connector for your devide throw it on the other end. i personally had leegeddy make me a right angle power cable with an inline fuse, and i soldered that to my adaptaplug cable